Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zengid
11 months ago
|
parent
|
context
|
favorite
| on:
A lock-free ring-buffer with contiguous reservatio...
Not if your program needs to be realtime or near realtime safe. Locks are controlled by the OS typically, and can have non-deterministic latency.
loeg
11 months ago
[–]
Even ignoring mutexes and OS scheduling, plain spinlocks add contention that would not otherwise exist in a SPSC ringbuffer.
https://news.ycombinator.com/item?id=39551575
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: