@hackage bits-atomic0.1.1
Atomic bit operations on memory locations for low-level synchronization
Categories
License
BSD-3-Clause
Maintainer
Gabriel Wicke <wicke@wikidev.net>
Links
Versions
Installation
CustomDependencies (1)
Dependents (7)
@hackage/IORefCAS, @hackage/chaselev-deque, @hackage/atomic-primops-foreign, @hackage/acme-everything, @hackage/lvish, @hackage/reactor, Show all…
Package Flags
test
(off by default)
Build test program.
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