mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/thread/lib/thread.rb: Add a replacement of thread.rb that
loads this extension. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11696 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cf403cb734
commit
e8b3e1af53
2 changed files with 10 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
||||||
|
Sun Feb 11 06:15:16 2007 Akinori MUSHA <knu@iDaemons.org>
|
||||||
|
|
||||||
|
* ext/thread/lib/thread.rb: Add a replacement of thread.rb that
|
||||||
|
loads this extension.
|
||||||
|
|
||||||
Sun Feb 11 05:39:47 2007 Akinori MUSHA <knu@iDaemons.org>
|
Sun Feb 11 05:39:47 2007 Akinori MUSHA <knu@iDaemons.org>
|
||||||
|
|
||||||
* lib/thread.rb: Remove an ineffective part of the code.
|
* lib/thread.rb: Remove an ineffective part of the code.
|
||||||
|
|
|
||||||
5
ext/thread/lib/thread.rb
Normal file
5
ext/thread/lib/thread.rb
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
unless defined? Thread
|
||||||
|
fail "Thread not available for this ruby interpreter"
|
||||||
|
end
|
||||||
|
|
||||||
|
require 'thread.so'
|
||||||
Loading…
Add table
Add a link
Reference in a new issue