workers icon indicating copy to clipboard operation
workers copied to clipboard

Workers is a Ruby gem for performing work in background threads. Multi-threading made simple.

Results 4 workers issues
Sort by recently updated
recently updated
newest added

Drop support Ruby before 2.6 Updated Bundler to version 2 Added 'sorted_set' gem to prevent 'workers' from crashing in Ruby 3.0.1

Thanks for the great library, I've been using it in a local project. I've encountered an issue where a infrequent race condition is causing Threads to deadlock unexpectedly. Specifically, if...

Prevents an edge case where a context switch between firing of the callback and timer reset caused nested timers (timer that is launched within another timer callback) to deadlock. See...

The existing implementation of `SortedSet` (ruby 2 and 3) asks each new timer to compare to other timers at the time of insertion and then places the object in the...