Skip to content

Commit

Permalink
* lib/thread.rb: Remove an ineffective part of the code.
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@11695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
knu committed Feb 10, 2007
1 parent 2a7ec27 commit cf403cb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
4 changes: 4 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
9 changes: 0 additions & 9 deletions lib/thread.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,6 @@
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
Expand Down

0 comments on commit cf403cb

Please sign in to comment.