[project @ 2005-12-05 11:42:47 by simonmar]
authorsimonmar <unknown>
Mon, 5 Dec 2005 11:42:47 +0000 (11:42 +0000)
committersimonmar <unknown>
Mon, 5 Dec 2005 11:42:47 +0000 (11:42 +0000)
commit956ef5fcd15bee4981eec3e666891b3f63c8b345
tree4c9a345105531709098fc5962d2d23c60ae34fe4
parent440b0edceec1eb681bd24ab8d109c19441a39cb7
[project @ 2005-12-05 11:42:47 by simonmar]
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.
GHC/Conc.lhs