An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

atomic-counter

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.

Ecosystem
hackage.haskell.org
Latest Release
0.1.2
almost 3 years ago
Versions
7
Downloads
1,159 total
Dependent Packages
1
Links
Registry hackage.haskell.org
Source Repository
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:hackage/atomic-counter
spec
License Apache-2.0
First Release about 3 years ago
Last Synced 15 days ago
Repository
Stars 19 on GitHub
Forks 2 on GitHub
Commits 10
Committers 2
Avg per Author 5.0
DDS 0.1