summaryrefslogtreecommitdiffstats
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
commit94bb5e1281b96fe5d5473c40cab44e32a90cc99c (patch)
tree1d557f67f937291885c39c61a7b4794369b168f6 /lib
parent3f8c0ff40ee64c3512278b22b8006945fe0de61b (diff)
downloadruby-94bb5e1281b96fe5d5473c40cab44e32a90cc99c.tar.gz
ruby-94bb5e1281b96fe5d5473c40cab44e32a90cc99c.tar.xz
ruby-94bb5e1281b96fe5d5473c40cab44e32a90cc99c.zip
* lib/thread.rb: Remove an ineffective part of the code.
git-svn-id: http://svn.ruby-lang.org/repos/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 4c6a651a5..c4bb141ce 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