Skip to content

fmstephe/lfqueue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Please note that this code is _incomplete_. It does not work as it stands right now.

This is a lock-free concurrent queue implementation for Go. It does not provide safe dequeing and needs either a Java-style volatile read or some other synchronisation mechanism.

The implementation is based on the Michael-Scott algorithm described in the paper "Simple, Fast, and Practical Non-Blocking and Blocking Concurrent Queue Algorithms"

To see another real implementation of this algorithm have a look at java.util.concurrent.ConcurrentLinkedQueue.java

About

Lock free concurrent queue, based on the java implementation ConcurrentLinkedQueue

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages