Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
loosenTVar :: TVar a -> MultiTVar a Source
makeMultiTVar :: ATraversal' x a -> TVar x -> MultiTVar a Source
zoomMultiTVar :: ATraversal' a b -> MultiTVar a -> MultiTVar b Source
newMultiTVar :: a -> STM (MultiTVar a) Source
newMultiTVarIO :: a -> IO (MultiTVar a) Source
readMultiTVar :: Monoid a => MultiTVar a -> STM a Source
readMultiTVarIO :: Monoid a => MultiTVar a -> IO a Source
readMultiTVarList :: MultiTVar a -> STM [a] Source
readMultiTVarListIO :: MultiTVar a -> IO [a] Source
readMultiTVarHead :: MultiTVar a -> STM (Maybe a) Source
readMultiTVarHeadIO :: MultiTVar a -> IO (Maybe a) Source
modifyMultiTVar :: MultiTVar a -> (a -> a) -> STM () Source
modifyMultiTVar' :: MultiTVar a -> (a -> a) -> STM () Source
writeMultiTVar :: MultiTVar a -> a -> STM () Source