diff options
author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-10 21:18:24 +0000 |
---|---|---|
committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-10 21:18:24 +0000 |
commit | e8b3e1af535fa828691a34476f5e24b569b1bc11 (patch) | |
tree | c2bdae1d8ece62fd2ac8ee60aafcb4d7c2e1e2bc /ext/thread | |
parent | cf403cb7344adf67630a3fd22be9b22b5cc5defa (diff) |
* 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
Diffstat (limited to 'ext/thread')
-rw-r--r-- | ext/thread/lib/thread.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/thread/lib/thread.rb b/ext/thread/lib/thread.rb new file mode 100644 index 0000000000..6c533aba39 --- /dev/null +++ b/ext/thread/lib/thread.rb @@ -0,0 +1,5 @@ +unless defined? Thread + fail "Thread not available for this ruby interpreter" +end + +require 'thread.so' |