Y
Hacker News
new
|
ask
|
show
|
jobs
by
loeg
842 days ago
No -- for a lock-free design with a single producer and consumer, it's possible both are typically writing to independent regions of memory. With a lock, both have to write the same cache line to take and release the lock.