threading
New threading primitives for --mm:arc/orc: atomics, channels, smart pointers and wait groups.
Summary
| Latest Version | 0.2.1 |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-08-30 07:10 |
Tags
Authors
- Araq
Installation
nimble install threading
choosenim install threading
git clone https://github.com/nim-lang/threading
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| threading | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Dependencies
| Package | Version | Optional |
|---|---|---|
| nim >= | 1.6.0 | No |
Source
| Repository | https://github.com/nim-lang/threading |
|---|---|
| Homepage | https://github.com/nim-lang/threading |
| Registry Source | nimble_official |
README
threading
New threading primitives for Nim's arc/orc memory management modes: atomics, channels, smart pointers and wait groups.
Documentation
These modules require
--threads:on, and one of the--mm:arc,--mm:orcor--mm:atomicArccompilation flags!
Documentation: https://nim-lang.github.io/threading
See tests/ for some usage examples.