summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-10 21:18:24 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-10 21:18:24 +0000
commite8b3e1af535fa828691a34476f5e24b569b1bc11 (patch)
treec2bdae1d8ece62fd2ac8ee60aafcb4d7c2e1e2bc /ext
parentcf403cb7344adf67630a3fd22be9b22b5cc5defa (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')
-rw-r--r--ext/thread/lib/thread.rb5
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 0000000..6c533ab
--- /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'