The bits-extras package

[Tags:bsd3, library]

Mostly wraps low-level bit operations provided by GCC builtins, which translate to specialized instructions where available.

Atomic operations include CAS (compare-and-swap), lock, fetch & add and similar primitives suitable for low-level shared-memory synchronization.

Primitives from the Extras subpackage would be useful to have in the proper Data.Bits package, although this would probably require broader support across different compiler backends.

Relevant Hackage tickets:

Properties

Versions 0.1.0, 0.1.1, 0.1.2, 0.1.3
Dependencies base (>=4 && <6) [details]
License BSD3
Author Gabriel Wicke <wicke@wikidev.net>
Maintainer Gabriel Wicke <wicke@wikidev.net>
Stability experimental
Category Data
Source repository head: hg clone http://dev.wikidev.net/hg/bits-extras/
Uploaded Sat Aug 14 10:22:53 UTC 2010 by GabrielWicke
Distributions NixOS:0.1.3
Downloads 1657 total (6 in the last 30 days)
Votes
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees