3 ms·
Also lock free usually means atomics which means memory fences. Those can be slow. It's another tool you should have available though.
by 01100011 7y ago
Also lock free usually means atomics which means memory fences. Those can be slow. It's another tool you should have available though.
- scott_s 7y agoMemory fences and atomics are a part of lock-based code as well. They're just hidden by the locking and notification primitives.