concurrency
CommunityMaster async patterns and race-condition safety.
Authorcosmix
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Concurrency and parallelism are essential for responsive software but introduce race conditions and deadlocks. This Skill covers async/await patterns, synchronization primitives, and safe parallelism strategies.
Core Features & Use Cases
- Async patterns: Async/await, timeouts, and cancellation.
- Synchronization: Locks, semaphores, read-write locks for thread safety.
- Patterns: Worker pools, queues, and thread-safe data structures.
- Use Case: Build a background worker pool that processes tasks concurrently without data races.
Quick Start
Create a small worker pool that processes tasks from a queue using a thread pool or async loop.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: concurrency Download link: https://github.com/cosmix/claude-code-setup/archive/main.zip#concurrency Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.