[libc-commits] [libc] [libc][arc4random][patch 2/4] add ABA protected MPMCStack (PR #151361)
Schrodinger ZHU Yifan via libc-commits
libc-commits at lists.llvm.org
Thu Aug 14 09:10:45 PDT 2025
SchrodingerZhu wrote:
I am leaning to not to complicate the synchronization structure too much. it is to be used in https://github.com/llvm/llvm-project/pull/152617.
Alternatively, we can also make each thread acquire the node and return the node. In that case, we do not need to do the resource deallocation inside the stack, which makes the stack more simplified and less general.
Looking forward to your ideas. @jhuber6
https://github.com/llvm/llvm-project/pull/151361
More information about the libc-commits
mailing list