| ←Older revision | Revision as of 19:19, 3 April 2026 | ||
| Line 1: | Line 1: | ||
| - | [[TransactionalDataStructure]] is a realization of [[LockFreeAlgorithm]]. The primary goal may be different than to (just) ''avoid locks'' however. The [[TransactionalDataStructure]] pattern can be used to build a reliable data structure that ''keeps consistency'' even under multi threaded access and can be easily | + | [[TransactionalDataStructure]] is a realization of [[LockFreeAlgorithm]]. The primary goal may be different than to (just) ''avoid locks'' however. The [[TransactionalDataStructure]] pattern can be used to build a reliable data structure that ''keeps consistency'' even under multi threaded access and can be easily reasoned about. To do so the data structure uses two important concepts: |
* immutability (helps to reason about consistency) | * immutability (helps to reason about consistency) | ||