1 dépôt
Pass the current value to a block and replace it with the result, retrying automatically if another thread changes the value.
Distinct from Value Transformations: Distinct from Value Transformations: focuses on retry-on-conflict semantics for concurrent value updates, not general data casting transformations.
Explore 1 awesome GitHub repository matching development tools & productivity · Retriable. Refine with filters or upvote what's useful.
Concurrent Ruby is a comprehensive concurrency toolkit for the Ruby language that provides thread-safe data structures, synchronization primitives, and asynchronous execution patterns. It implements core concurrency abstractions including an actor model framework where isolated actors communicate through asynchronous message passing, a future and promise system for composing non-blocking operations, and thread pool executors that manage reusable worker threads for concurrent task execution. The library distinguishes itself through a broad set of coordination mechanisms that go beyond basic th
Supports atomic value transformations that automatically retry when concurrent modifications are detected.