summaryrefslogtreecommitdiff
path: root/lib/thread.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/thread.rb')
-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