cangjie-concurrency
CommunityMaster Cangjie's concurrent programming.
AuthorSunriseSummer
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill helps you understand and implement concurrent programming patterns in the Cangjie language, enabling you to build more efficient and responsive applications.
Core Features & Use Cases
- Concurrency Primitives: Learn about Cangjie's M:N thread model,
spawnfor creating threads, andsleepfor managing execution. - Synchronization: Master atomic operations,
Mutexfor exclusive access, andConditionvariables for inter-thread communication. - Thread Management: Understand
Futurefor thread handles,ThreadLocalfor thread-specific data, and cooperative cancellation. - Use Case: Build a multi-threaded web server where each request is handled by a separate Cangjie thread, ensuring high throughput and responsiveness.
Quick Start
Use the cangjie-concurrency skill to create a new thread that prints "Hello from new thread" and then sleeps for 1 second.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: cangjie-concurrency Download link: https://github.com/SunriseSummer/CangjieDocValidator/archive/main.zip#cangjie-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 223,000+ vetted skills library on demand.