-
simonmar authored
Add IO versions of the STM primitives that allocate new transactional variables: newTVarIO :: a -> IO (TVar a) newTChanIO :: IO (TChan a) newTMVarIO :: a -> IO (TMVar a) These can be used inside unsafePerformIO, unlike the STM versions.
simonmar authoredAdd IO versions of the STM primitives that allocate new transactional variables: newTVarIO :: a -> IO (TVar a) newTChanIO :: IO (TChan a) newTMVarIO :: a -> IO (TMVar a) These can be used inside unsafePerformIO, unlike the STM versions.
Loading