Top "Lock-free" questions

An umbrella term for methods and algorithms to synchronize multithreaded environments or other forms of distributed system without using locks.

Circular lock-free buffer

I'm in the process of designing a system which connects to one or more stream of data feeds and do …

c++ algorithm multithreading concurrency lock-free
Is there a production ready lock-free queue or hash implementation in C++

I ve been googling quite a bit for a lock-free queue in C++. I found some code and some trials …

c++ stl lock-free
Portable Compare And Swap (atomic operations) C/C++ library?

Is there any small library, that wrapps various processors' CAS-like operations into macros or functions, that are portable across multiple …

c++ c multithreading portability lock-free
Does a multiple producer single consumer lock-free queue exist for c++?

The more I read the more confused I become... I would have thought it trivial to find a formally correct …

c++ synchronization lock-free
Lock-Free Multiple Producer/Consumer Queue in C++11

I'm trying to implement a lock free multiple producer, multiple consumer queue in C++11. I'm doing this as a learning …

c++ multithreading c++11 queue lock-free
atomic operation cost

What is the cost of the atomic operation (any of compare-and-swap or atomic add/decrement)? How much cycles does it …

performance atomic cpu-architecture lock-free
Lock-free multi-threading is for real threading experts

I was reading through an answer that Jon Skeet gave to a question and in it he mentioned this: As …

c# .net multithreading lock-free
C++ atomic operations for lock-free structures

I'm implementing a lock-free mechanism using atomic (double) compare and swap instructions e.g. cmpxchg16b I'm currently writing this …

c++ atomic lock-free
boost c++ lock-free queue vs shared queue

I'm quite new in multithreading programming, I just know the most common Producer-Consumer-Queue. I'm using the boost c++ libraries and …

c++ multithreading boost producer-consumer lock-free
Using Boost.Lockfree queue is slower than using mutexes

Until now I was using std::queue in my project. I measured the average time which a specific operation on …

c++ multithreading performance boost lock-free