1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
knu 2007-02-10 20:42:08 +00:00
parent 2a7ec27be2
commit cf403cb734
2 changed files with 4 additions and 9 deletions

View file

@ -1,3 +1,7 @@
Sun Feb 11 05:39:47 2007 Akinori MUSHA <knu@iDaemons.org>
* lib/thread.rb: Remove an ineffective part of the code.
Sun Feb 11 05:32:54 2007 Akinori MUSHA <knu@iDaemons.org>
* ext/thread/thread.c (rb_thread_exclusive): Implement

View file

@ -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