The AVar package
AVars emulate mutable variables, by providing a queue based interface to interacting with the variable. Each variable runs a handler function, which reads requests from a queue and processes them one by one. They can be used in concurrent systems safely, and should handle exceptions thrown by modifying functions gracefully. There is also an unsafe interface through Data.AVar.Unsafe, which will throw any errors encountered while modifying the variable. New in this version: * Fixed a (MASSIVE) mistake where i had forgotten to export the newAVar function. * Gave in and exported Data.AVar.Internal
Properties
| Versions | 0.0.1, 0.0.2, 0.0.3, 0.0.4, 0.0.5, 0.0.5.1 |
|---|---|
| Dependencies | base (≥4.0.0.0 & <6.0.0.0) |
| License | BSD3 |
| Author | Alex Mason |
| Maintainer | Alex Mason <axman6@gmail.com> |
| Category | Concurrency |
| Upload date | Tue Dec 8 15:41:14 UTC 2009 |
| Uploaded by | AlexMason |
| Built on | ghc-6.10, ghc-6.12, ghc-7.0 |
Modules
Downloads
- AVar-0.0.5.1.tar.gz (Cabal source package)
- package description (included in the package)