|
Control.Concurrent.STM.TVar | Portability | non-portable (requires STM) | Stability | experimental | Maintainer | libraries@haskell.org |
|
|
|
|
|
Description |
TVar: Transactional variables
|
|
Synopsis |
|
|
|
|
TVars
|
|
|
Shared memory locations that support atomic memory transactions.
|
|
|
|
Create a new TVar holding a value supplied
|
|
|
Return the current value stored in a TVar
|
|
|
Write the supplied value into a TVar
|
|
|
IO version of newTVar. This is useful for creating top-level
TVars using System.IO.Unsafe.unsafePerformIO, because using
atomically inside System.IO.Unsafe.unsafePerformIO isn't
possible.
|
|
|
Set the value of returned TVar to True after a given number of
microseconds. The caveats associated with threadDelay also apply.
|
|
Produced by Haddock version 2.6.0 |