Description
Adds the former Ruby core Sync module as a gem, providing a two-phase lock with a counter. It is useful for legacy code that still depends on Sync-style coordination.
Locking primitives can cause deadlocks or hidden contention. Prefer simpler modern synchronization when possible, and test concurrent behavior under realistic load.