Instant is
off
|
Search plugin
|
Manual
|
haskell.org
newEmptyTMVar
Packages
stm
newEmptyTMVar
:: STM (TMVar a)
stm
Control.Concurrent.STM.TMVar
Create a
TMVar
which is initially empty.
newEmptyTMVar
IO
:: IO (TMVar a)
stm
Control.Concurrent.STM.TMVar
IO version of
newEmptyTMVar
. This is useful for creating top-level
TMVar
s using
unsafePerformIO
, because using
atomically
inside
unsafePerformIO
isn't possible.
©
Neil Mitchell
2004-2012, version 4.2.11