stm-lifted-0.1.1.0: Software Transactional Memory lifted to MonadIO

Safe HaskellSafe
LanguageHaskell2010

Control.Concurrent.STM.TMVar.Lifted

Documentation

newTMVarIO :: MonadIO m => a -> m (TMVar a) Source #

takeTMVarIO :: MonadIO m => TMVar a -> m a Source #

putTMVarIO :: MonadIO m => TMVar a -> a -> m () Source #

readTMVarIO :: MonadIO m => TMVar a -> m a Source #

swapTMVarIO :: MonadIO m => TMVar a -> a -> m a Source #

tryPutTMVarIO :: MonadIO m => TMVar a -> a -> m Bool Source #