diff options
| author | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-10 20:42:08 +0000 |
|---|---|---|
| committer | knu <knu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-02-10 20:42:08 +0000 |
| commit | 94bb5e1281b96fe5d5473c40cab44e32a90cc99c (patch) | |
| tree | 1d557f67f937291885c39c61a7b4794369b168f6 | |
| parent | 3f8c0ff40ee64c3512278b22b8006945fe0de61b (diff) | |
| download | ruby-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
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | lib/thread.rb | 9 |
2 files changed, 4 insertions, 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 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 |
