summaryrefslogtreecommitdiff
path: root/LICENSE
diff options
context:
space:
mode:
authorMarco Trevisan (Treviño) <[email protected]>2023-09-29 23:01:50 +0200
committerMarco Trevisan (Treviño) <[email protected]>2023-11-30 01:16:39 +0100
commit911a346a003fd5ef80688caf03a0296b95efee69 (patch)
treeaf96ea2bbb21dccbbe4807196b27eb201779e50c /LICENSE
parent3e4f7f5e4be10027f645e21dd2aae37cd4c580a9 (diff)
transaction: Use Atomic to store/load the status
Transactions save the status of each operation in a status field, however such field could be written concurrently by various operations, so we need to be sure that: - We always return the status for the current operation - We store the status in a atomic way so that other actions won't create write races In general, in a multi-thread operation one should not rely on Transaction.Error() to get info about the last operation.
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions