[libc-commits] [libc] [libc] Implement simple lock-free stack data structure (PR #83026)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Mon Feb 26 11:14:42 PST 2024


jhuber6 wrote:

I have updated the implementation to use 44-bites of ABA and 20-bits of index. This allows for a 1 MB fixed size buffer and using generous timing would take 3/4th of a year of continuous execution to overflow with an even smaller chance for them to conflict.

https://github.com/llvm/llvm-project/pull/83026


More information about the libc-commits mailing list