Registry / testing / thread-order

thread-order

JSON →
library1.1.1rbrubygemsunverified

Test helper for ordering threaded code, compatible with Ruby 1.8.7 to 2.2, Rubinius, and JRuby.

gem install thread_order
INSTALL
IMPORT
SIG · THREAD-ORDER
T
thread-order
testingrubyv1.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ThreadOrder
require 'thread_order'

Define and execute ordered thread steps

require 'thread_order' ThreadOrder.new do |t| t.execute(:first) { puts 'First' } t.execute(:second) { puts 'Second' } end
Debug
Known issues
breakingDesigned for older Ruby versions; may not work with Ruby 3.0+ due to threading changes.
fix
Test compatibility with your Ruby version before use.
affects: >= 1.0.0
Upgrade
Version history
1.1.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
8
Amazon
1
Resources
thread-order — gem install thread-order · libregistry