diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-09-20 09:16:32 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2000-09-20 09:16:32 +0000 |
commit | fc57cd59ffe2cca34d6bd48962f0be47eed0f509 (patch) | |
tree | a1294fef6dabf6de477c60846fa10a2bb72ff0f8 /lib/thread.rb | |
parent | 5039daaf2e2c3c21c4b77397210b3e3cfe5e7af1 (diff) |
matz - disappointing fixes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/thread.rb')
-rw-r--r-- | lib/thread.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread.rb b/lib/thread.rb index 12fe81c542..d4b6ad6ec1 100644 --- a/lib/thread.rb +++ b/lib/thread.rb @@ -223,7 +223,7 @@ class SizedQueue<Queue def max=(max) Thread.critical = true - if @max >= max + if max >= @max @max = max Thread.critical = false else |