The bits-atomic package

[ Tags: bsd3, concurrency, data, foreign, library ] [ Propose Tags ]

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

Recent changes:

Properties

Versions 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 BSD3
Author Gabriel Wicke <wicke@wikidev.net>
Maintainer Gabriel Wicke <wicke@wikidev.net>
Category Data, Concurrency, Foreign
Source repository head: hg clone http://dev.wikidev.net/hg/bits-atomic/
Uploaded Tue Aug 31 14:59:23 UTC 2010 by GabrielWicke
Distributions FreeBSD:0.1.3, NixOS:0.1.3
Executables test
Downloads 3955 total (30 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]
Hackage Matrix CI

Modules

[Index]

Flags

NameDescriptionDefaultType
test

Build test program.

DisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees