threading
threading copied to clipboard
New atomics, thread primitives, atomic refcounting for --gc:arc/orc.
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.