Instant is
off
|
Search plugin
|
Manual
|
haskell.org
putTMVar
Packages
stm
putTMVar
:: TMVar a -> a -> STM ()
stm
Control.Concurrent.STM.TMVar
Put a value into a
TMVar
. If the
TMVar
is currently full,
putTMVar
will
retry
.
try
PutTMVar
:: TMVar a -> a -> STM Bool
stm
Control.Concurrent.STM.TMVar
A version of
putTMVar
that does not
retry
. The
tryPutTMVar
function attempts to put the value a into the
TMVar
, returning
True
if it was successful, or
False
otherwise.
©
Neil Mitchell
2004-2012, version 4.2.11