zig-concurrency

Installation
SKILL.md

Zig 并发编程

基于 std.Thread 和 std.atomic 的并发原语(Zig 0.16.0)。

Capability Boundaries

✅ 强项

  1. 线程创建与管理(spawn、join、detach)
  2. 同步原语(Mutex、RwLock、Condition、Semaphore、ResetEvent、WaitGroup)
  3. 线程池(Thread.Pool)用于并行任务
  4. 原子操作(std.atomic.Value)
  5. 常见并发模式(生产者-消费者、工作队列)

⚠️ 前置要求

  1. 确认 Zig 版本(zig version
  2. 理解基本并发概念(竞态条件、死锁)
Installs
7
GitHub Stars
1
First Seen
Jun 23, 2026
zig-concurrency — full-stack-skills/zig-skills