summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-10 20:42:08 +0000
committerknu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-10 20:42:08 +0000
commitcf403cb7344adf67630a3fd22be9b22b5cc5defa (patch)
tree1d557f67f937291885c39c61a7b4794369b168f6 /lib
parent2a7ec27be2f17b74ea8383316d6948a3b3334ad9 (diff)
* lib/thread.rb: Remove an ineffective part of the code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/thread.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/thread.rb b/lib/thread.rb
index 4c6a651a56..c4bb141ce7 100644
--- a/lib/thread.rb
+++ b/lib/thread.rb
@@ -12,15 +12,6 @@ unless defined? Thread
fail "Thread not available for this ruby interpreter"
end
-unless defined? ThreadError
- class ThreadError<StandardError
- end
-end
-
-if $DEBUG
- Thread.abort_on_exception = true
-end
-
class Thread
#
# Wraps a block in Thread.critical, restoring the original value upon exit