|
| Control.Concurrent.TBox.Operations | | Portability | non-portable (requires STM) | | Stability | experimental | | Maintainer | Peter Robinson <thaldyron@gmail.com> |
|
|
|
| Description |
| Operations on instances of TBox.
|
|
| Synopsis |
|
|
|
| Documentation |
|
|
| Deletes the content.
|
|
|
| Writes the new content.
|
|
|
If the TBox is dirty, this retries the transaction and
rereads the content using readIO in a separate thread.
Otherwise it simply returns the result of readSTM.
Note: Depending on the implementation, careless
use of setDirty and read in the same transaction might lead
to nonterminating retry loops.
|
|
|
| Returns True iff the TBox is empty.
|
|
| Produced by Haddock version 2.4.2 |