A Multithreaded, Transaction-Based Locking Strategy for Containersrd_tsv • A write timestamp wr_tsv • A transaction TX1 with timestamp tsv • Functions begin(), commit(), and rollback() • Facility for TX1 to "acquire" E • Function update() to update E • Function transactions, and each thread owns its transactions • A transaction’s key operations (begin, acquire, commit, rollback) can only be performed by the owning thread • A transaction manger acquires lockable members of the update group were acquired] [Apply write operations to the members of the update group] [Commit the transaction, loop back to the top, get new work] else [Roll back the transaction, loop back0 码力 | 142 页 | 474.78 KB | 6 月前3
Back to Basics: ExceptionsException Safety Guarantee Invariants are preserved No resources are leaked No state change (commit-or-rollback) Not always possible (e.g. sockets, streams, etc.) No-Throw Guarantee The operation Exception Safety Guarantee Invariants are preserved No resources are leaked No state change (commit-or-rollback) Not always possible No-Throw Guarantee The operation cannot fail 1 2 3 4 Exception Safety Guarantee Invariants are preserved No resources are leaked No state change (commit-or-rollback) Not always possible No-Throw Guarantee The operation cannot fail 1 2 3 40 码力 | 111 页 | 4.87 MB | 6 月前3
Conan 2.0 Documentationsource(self): # Please, be aware that using the head of the branch instead of an immutable tag # or commit is a bad practice and not allowed by Conan get(self, "https://github.com/conan-io/libhello/archive/refs/heads/main source(self): # Please, be aware that using the head of the branch instead of an immutable tag # or commit is strongly discouraged, unsupported by Conan and likely to cause issues get(self, "https://github immutable tag or a specific commit to guarantee the correct behavior. Using the HEAD of the repository is not allowed and can cause undefined behavior and breakages. To checkout a commit or tag in the repository0 码力 | 652 页 | 4.00 MB | 1 年前3
Conan 2.1 Documentationsource(self): # Please, be aware that using the head of the branch instead of an immutable tag # or commit is a bad practice and not allowed by Conan get(self, "https://github.com/conan-io/libhello/archive/refs/heads/main source(self): # Please, be aware that using the head of the branch instead of an immutable tag # or commit is strongly discouraged, unsupported by Conan and likely to cause issues get(self, "https://github immutable tag or a specific commit to guarantee the correct behavior. Using the HEAD of the repository is not allowed and can cause undefined behavior and breakages. To checkout a commit or tag in the repository0 码力 | 694 页 | 4.13 MB | 1 年前3
Conan 2.10 Documentationsource(self): # Please, be aware that using the head of the branch instead of an immutable tag # or commit is a bad practice and not allowed by Conan get(self, "https://github.com/conan-io/libhello/archive/refs/heads/main source(self): # Please, be aware that using the head of the branch instead of an immutable tag # or commit is strongly discouraged, unsupported by Conan and likely to cause issues get(self, "https://github immutable tag or a specific commit to guarantee the correct behavior. Using the HEAD of the repository is not allowed and can cause undefined behavior and breakages. To checkout a commit or tag in the repository0 码力 | 803 页 | 5.02 MB | 10 月前3
Conan 2.9 Documentationsource(self): # Please, be aware that using the head of the branch instead of an immutable tag # or commit is a bad practice and not allowed by Conan get(self, "https://github.com/conan-io/libhello/archive/refs/heads/main source(self): # Please, be aware that using the head of the branch instead of an immutable tag # or commit is strongly discouraged, unsupported by Conan and likely to cause issues get(self, "https://github immutable tag or a specific commit to guarantee the correct behavior. Using the HEAD of the repository is not allowed and can cause undefined behavior and breakages. To checkout a commit or tag in the repository0 码力 | 795 页 | 4.99 MB | 10 月前3
Conan 2.7 Documentationsource(self): # Please, be aware that using the head of the branch instead of an immutable tag # or commit is a bad practice and not allowed by Conan get(self, "https://github.com/conan-io/libhello/archive/refs/heads/main source(self): # Please, be aware that using the head of the branch instead of an immutable tag # or commit is strongly discouraged, unsupported by Conan and likely to cause issues get(self, "https://github immutable tag or a specific commit to guarantee the correct behavior. Using the HEAD of the repository is not allowed and can cause undefined behavior and breakages. To checkout a commit or tag in the repository0 码力 | 779 页 | 4.93 MB | 10 月前3
Conan 2.8 Documentationsource(self): # Please, be aware that using the head of the branch instead of an immutable tag # or commit is a bad practice and not allowed by Conan get(self, "https://github.com/conan-io/libhello/archive/refs/heads/main source(self): # Please, be aware that using the head of the branch instead of an immutable tag # or commit is strongly discouraged, unsupported by Conan and likely to cause issues get(self, "https://github immutable tag or a specific commit to guarantee the correct behavior. Using the HEAD of the repository is not allowed and can cause undefined behavior and breakages. To checkout a commit or tag in the repository0 码力 | 785 页 | 4.95 MB | 10 月前3
Conan 2.3 Documentationsource(self): # Please, be aware that using the head of the branch instead of an immutable tag # or commit is a bad practice and not allowed by Conan get(self, "https://github.com/conan-io/libhello/archive/refs/heads/main source(self): # Please, be aware that using the head of the branch instead of an immutable tag # or commit is strongly discouraged, unsupported by Conan and likely to cause issues get(self, "https://github immutable tag or a specific commit to guarantee the correct behavior. Using the HEAD of the repository is not allowed and can cause undefined behavior and breakages. To checkout a commit or tag in the repository0 码力 | 748 页 | 4.65 MB | 1 年前3
Conan 2.5 Documentationsource(self): # Please, be aware that using the head of the branch instead of an immutable tag # or commit is a bad practice and not allowed by Conan get(self, "https://github.com/conan-io/libhello/archive/refs/heads/main source(self): # Please, be aware that using the head of the branch instead of an immutable tag # or commit is strongly discouraged, unsupported by Conan and likely to cause issues get(self, "https://github immutable tag or a specific commit to guarantee the correct behavior. Using the HEAD of the repository is not allowed and can cause undefined behavior and breakages. To checkout a commit or tag in the repository0 码力 | 769 页 | 4.70 MB | 1 年前3
共 101 条
- 1
- 2
- 3
- 4
- 5
- 6
- 11













