cardano-node-8.8.1: The cardano full node
Safe HaskellSafe-Inferred
LanguageHaskell2010

Cardano.Node.STM

Synopsis

Documentation

modifyReadTVar :: TVar a -> (a -> a) -> STM a Source #

Mutate the contents of a TVar and return the new value of the TVar (non-strict).

modifyReadTVar' :: TVar a -> (a -> a) -> STM a Source #

Mutate the contents of a TVar and return the new value of the TVar (strict).

modifyReadTVarIO :: TVar a -> (a -> a) -> IO a Source #

Mutate the contents of a TVar and return the new value of the TVar (non-strict).

modifyReadTVarIO' :: TVar a -> (a -> a) -> IO a Source #

Mutate the contents of a TVar and return the new value of the TVar (strict).