scivey/xact
View on GitHub ↗ ★ 85 C++
multi-way atomic compare-and-swap with x64/TSX
5 mentions on Hacker News by 1 person: 2 stories, 3 comments · first 2016-12-29 · latest 2016-12-30
20082026
-
…correct: the limits on transaction size are unknown. That's mentioned in the documentation here https://github.com/scivey/xact/blob/master/docs/api/n_way.md TSX is a black box in many ways, and I think we can expect its behavior to change…
comment by scivey7 · 2016-12-30 · in XACT: Lock-Free Multi-CAS for C++/x64 Built on TSX -
…a counter into the read set, I think the new generalized API here will support that out of the box: https://github.com/scivey/xact/blob/master/docs/api/generali... Thoughts?
comment by scivey7 · 2016-12-30 · in XACT: Lock-Free Multi-CAS for C++/x64 Built on TSX -
…add some configurable retry logic back in -- e.g. the retry policy here is used in some test code: https://github.com/scivey/xact/blob/master/include/xact/atom... As to the difficulty of protecting any memory touched in a transaction under…
comment by scivey7 · 2016-12-30 · in XACT: Lock-Free Multi-CAS for C++/x64 Built on TSX