TVar -package:base

Shared memory locations that support atomic memory transactions.
Shared memory locations that support atomic memory transactions.
Transactional variables, for use with MonadSTM. Deviations: There is no Eq instance for MonadSTM the TVar type. Furthermore, the newTVarIO and mkWeakTVar functions are not provided.
GVariant
Every TVar has a unique identifier.
TVar contents
Get the TVars affected by a ThreadAction.
Get the TVars a transaction read from.
Get the TVars a transaction wrote to (or would have, if it didn't retry).
Make a Weak pointer to a TVar, using the second argument as a finalizer to run when TVar is garbage-collected
Mutate the contents of a TVar. N.B., this version is non-strict.
Strict version of modifyTVar.
Create a new TVar holding a value supplied