Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Random and general IO utilities.
- writeTVarIO :: TVar a -> a -> IO ()
- modifyTVarIO :: TVar a -> (a -> a) -> IO ()
Documentation
writeTVarIO :: TVar a -> a -> IO () Source #
Atomically write a TVar.
modifyTVarIO :: TVar a -> (a -> a) -> IO () Source #
Atomically modify a TVar.