atomic-counter
Version 0.1.2.3 revision 0 uploaded by SergeyVinokurov.
Package meta
- Synopsis
- Mutable counters that can be modified with atomic operatinos
- Description
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.
- Author
- Sergey Vinokurov
- Bug reports
- https://github.com/sergv/atomic-counter/issues
- Category
- Concurrency, Data, Data Structures
- Copyright
- (c) Sergey Vinokurov 2022
- Homepage
- https://github.com/sergv/atomic-counter
- Maintainer
- Sergey Vinokurov <serg.foo@gmail.com>
- Package URL
- n/a
- Stability
- n/a