FICHA · MANJARO

ruby-sync

A Ruby module packaged as a gem that provides a two-phase lock with a counter. Was in Ruby core until 2.7

  • Library
  • LIBRARY
  • Dependency only
official+codex · reviewed · May 29, 2026 description in en

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.

Permissions

Permissions not analysed for this source yet.