axiom-synchronization

Installation
SKILL.md

Mutex & Synchronization — Thread-Safe Primitives

Low-level synchronization primitives for when actors are too slow or heavyweight.

When to Use Mutex vs Actor

Need Use Reason
Microsecond operations Mutex No async hop overhead
Protect single property Mutex Simpler, faster
Complex async workflows Actor Proper suspension handling
Suspension points needed Actor Mutex can't suspend
Shared across modules Mutex Sendable, no await needed
High-frequency counters Atomic Lock-free performance

API Reference

Mutex (iOS 18+ / Swift 6)

Related skills
Installs
4
GitHub Stars
3
First Seen
Mar 5, 2026