gang-of-threads-3.1.0: Non-deterministic parallelism with bags

Safe HaskellSafe-Inferred

Control.Concurrent.Bag.TaskBuffer

Documentation

data TaskBuffer a Source

Constructors

TaskBuffer 

Fields

writeBuffer :: a -> IO ()
 
readBuffer :: IO a
 

data BufferType Source

Constructors

Queue 
Stack