Treiber

Lock free Treiber stack https://github.com/Julek

Latest on Hackage:0.0.4

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Julian Sutherland
Maintained by Julian Sutherland (julian.sutherland10@imperial.ac.uk)

An implementation of Treiber stacks, a lock free stack. Works with any monad that has atomically modificable references. 0.0.2: Removed debug code accidentally left in in version 0.0.1. 0.0.3: Added specializations of the TreiberStack data structure to the IO and STM monads (forgotten to export in 0.0.2). 0.0.4: Modification to remove unrequired Eq class requirement and changed broken specialize pragma.

Used by 1 package:
comments powered byDisqus