Path to this page:
./
devel/hs-atomic-counter,
Mutable counters that can be modified with atomic operatinos
Branch: CURRENT,
Version: 0.1.2.3,
Package name: hs-atomic-counter-0.1.2.3,
Maintainer: pkgsrc-usersThis package defines Counter type that can be safely modified concurrently from
multiple threads. The type supports only few operations, namely read, write, cas
(compare and swap), add, subtract and a few bitwise ones like or, and xor.
Most common use case is having a shared counter that multiple threads increment.
Another potential use case is lightweight locks.
Master sites:
Filesize: 16.972 KB
Version history: (Expand)
- (2025-01-29) Package added to pkgsrc.se, version hs-atomic-counter-0.1.2.3 (created)
CVS history: (Expand)
2025-01-29 17:24:51 by Masatake Daimon | Files touched by this commit (5) |
Log message:
devel/hs-atomic-counter: import hs-atomic-counter-0.1.2.3
This package defines Counter type that can be safely modified concurrently from
multiple threads. The type supports only few operations, namely read, write, cas
(compare and swap), add, subtract and a few bitwise ones like or, and xor.
Most common use case is having a shared counter that multiple threads increment.
Another potential use case is lightweight locks.
|