@std/sync standard library MIT engine >= 0.1.0

Concurrency primitives: AtomicInt, mutexes, barriers, channels.

import { AtomicInt } from "@std/sync";

overview

Reach for @std/sync whenever threads share anything. Every primitive is constructed byId so separate threads open the same cell — the only legal cross-thread sharing path in the language.

capabilities

  • AtomicInt counters
  • Mutex/RwLock guards
  • Channel/Barrier coordination

No API data yet