/tools/Ruby/lib/ruby/1.8/thread.rb

http://github.com/agross/netopenspace · Ruby · 5 lines · 4 code · 1 blank · 0 comment · 1 complexity · d6b2036476cc3d18e756a6f31f7c6e68 MD5 · raw file

  1. unless defined? Thread
  2. fail "Thread not available for this ruby interpreter"
  3. end
  4. require 'thread.so'