nim-lang / threading

New atomics, thread primitives, atomic refcounting for --gc:arc/orc.
MIT License
73 stars 12 forks source link

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.