devel/hs-atomic-counter - The NetBSD Packages Collection

Mutable counters that can be modified with atomic operatinos

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.

Build dependencies

pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

lang/ghc910

Binary packages

OSArchitectureVersion
NetBSD 9.3x86_64hs-atomic-counter-0.1.2.3nb1.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.