The lock-free tag has no wiki summary.
2
votes
1answer
67 views
Simple Freelock collection
I wrote simple lock-free collection class for saving items from multithreading code. I did it just for fun and experience. Can you check my code for potentially problems please?
public class ...
2
votes
0answers
342 views
Lock-free multiple-consumer multiple-producer queue
The code below implements an intrusive lock-free queue that supports multiple concurrent producers and consumers.
Some features:
Producers and consumers work on separate ends of the queue most of ...
0
votes
0answers
42 views
Lock-free DoubleBufferedList
I posted this on SO and would appreciate any ideas on it's stability.
Much like the old double-buffering algorithm, this uses a List<T> to which are added entries. You can also take the list at ...
1
vote
2answers
379 views
Lock-Free Ring Implementation
I am wondering if someone can take a look at my lock-free, circular ring implementation which I use to implement a background logger.
The CircularRing pre-allocates LoggableEntity elements and stores ...
2
votes
1answer
189 views
Publisher/Consumer thread-safe lock-free queue with a single publisher/consumer
The code above is a implementation of a lock-free queue that makes the assumption that there is exactly one Consumer thread and one Producer thread. This works as intended? The memory barriers is used ...
9
votes
2answers
496 views
O(1) lock free container?
I posted this code in answer to a question on SO and someone asked if it had been peer-reviewed. It had not so I thought you guys may be able to help.
It is a lock-free Container class. By Container ...