threading
New atomics, thread primitives, channels and atomic refcounting for --gc:arc/orc.
Summary
| Latest Version | Unknown |
|---|---|
| License | MIT |
| CI Status | Failing |
| Downloads | 0 |
| Last Indexed | 2026-07-21 05:23 |
Tags
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 | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
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.