3 ms·
Thanks for sharing this technique. Are you aware of any existing open source implementations?
by j_s 12y ago
Thanks for sharing this technique. Are you aware of any existing open source implementations?
- emerson_clarke 12y agoUnfortunately no, thus far i have only implemented it in a commercial context as part of a high frequency trading system.
- zerd 12y agoDo you know of any papers/writeups where you can get more details of the technique?
- emerson_clarke 12y agoIm sure im not the first to have done something like this for logging or buffering in general, but im not aware of any writeups. Information on lock free data structures and the caveats (they are extremely difficult to get right) is freely available though: http://www.cs.cmu.edu/~410-s05/lectures/L31_LockFree.pdf http://en.wikipedia.org/wiki/ABA_problem