io-classes
Safe HaskellNone
LanguageHaskell2010

Control.Concurrent.Class.MonadSTM.TSem

Description

This module corresponds to TSem in "stm" package

Synopsis

MonadSTM

type family TSem (m :: Type -> Type) Source #

Instances

Instances details
type TSem IO Source # 
Instance details

Defined in Control.Monad.Class.MonadSTM.Internal

type TSem IO = TSem
type TSem (ReaderT r m) Source # 
Instance details

Defined in Control.Monad.Class.MonadSTM.Internal

type TSem (ReaderT r m) = TSem m

waitTSem :: MonadSTM m => TSem m -> STM m () Source #

signalTSem :: MonadSTM m => TSem m -> STM m () Source #

signalTSemN :: MonadSTM m => Natural -> TSem m -> STM m () Source #

MonadLabelledSTM

MonadTraceSTM

traceTSem :: MonadTraceSTM m => proxy m -> TSem m -> (Maybe Integer -> Integer -> InspectMonad m TraceValue) -> STM m () Source #