threading

New atomics, thread primitives, channels and atomic refcounting for --gc:arc/orc.

Pure Nim score 15/100 · tests present · no docs generated

Summary

Latest Version Unknown
License MIT
CI Status Failing
Downloads 0
Last Indexed 2026-07-21 05:23

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:orc or --mm:atomicArc compilation flags!

Documentation: https://nim-lang.github.io/threading

See tests/ for some usage examples.