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:
parent
2a7ec27be2
commit
cf403cb734
2 changed files with 4 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue