# Concurrency Primitives Skill

Expert skill for implementing language-level concurrency support including threads, channels, and synchronization.

## Quick Reference

- **Category**: Runtime
- **ID**: SK-020

## Key Capabilities

- Threading API and primitive design
- Mutex and condition variable implementation
- Channel-based message passing
- Async/await and coroutine systems
- Work-stealing scheduler implementation
- Thread-local storage handling
- Memory model and ordering design
- Green threads/goroutines implementation

## When to Use

Use this skill when implementing:
- Language-level concurrency primitives
- Runtime schedulers
- Async/await systems
- Channel-based communication

## Shared Candidate

This skill is a candidate for extraction to a shared library as it applies to:
- Systems Programming
- Backend Development

## Related Skills

- garbage-collection (SK-008)
- memory-allocator (SK-009)
- bytecode-vm (SK-010)
