stm-split-0.0.0.1: TMVars, TVars and TChans with distinguished input and output side
Control.Concurrent.STM.Split.MVar
data T dir a Source
Instances
type In = T In Source
type Out = T Out Source
newEmptyIO :: IO (In a, Out a) Source
newEmpty :: STM (In a, Out a) Source
newIO :: a -> IO (In a, Out a) Source
new :: a -> STM (In a, Out a) Source
take :: Out a -> STM a Source
put :: In a -> a -> STM () Source