bits-atomic: Atomic bit operations on memory locations for low-level synchronization
Atomic operations including CAS (compare-and-swap), lock and fetch & add suitable for low-level shared-memory synchronization.
The implementation is using GCC's builtin atomic operations in C wrappers called through the FFI.
Testing: The following commands can be used to compile and run the test suite:
cabal unpack bits-atomic && cd bits-atomic-* # if not yet locally available cabal configure -ftest cabal build cabal test
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
test | Build test program. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- bits-atomic-0.1.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1.0, 0.1.1, 0.1.2, 0.1.3 |
---|---|
Dependencies | base (>=4 && <6), HUnit, QuickCheck, test-framework, test-framework-hunit, test-framework-quickcheck2 [details] |
License | BSD-3-Clause |
Author | Gabriel Wicke <wicke@wikidev.net> |
Maintainer | Gabriel Wicke <wicke@wikidev.net> |
Category | Data, Concurrency, Foreign |
Source repo | head: hg clone http://dev.wikidev.net/hg/bits-atomic/ |
Uploaded | by GabrielWicke at 2010-08-30T12:32:39Z |
Distributions | FreeBSD:0.1.3 |
Reverse Dependencies | 7 direct, 3916 indirect [details] |
Executables | test |
Downloads | 7646 total (5 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user [build log] All reported builds failed [all 1 reports] |