Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
samsquire
10 months ago
|
parent
|
context
|
favorite
| on:
A lock-free ring-buffer with contiguous reservatio...
When you check available, you might have to do it as a (__atomic_load_n(&sender->realend, __ATOMIC_SEQ_CST) and do __atomic_store_n when setting available.
rather than just a plain load.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
rather than just a plain load.