@hackage bits-atomic0.1.0

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