/threading

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

Primary LanguageNimMIT LicenseMIT

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.