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

matz - disappointing fixes

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2000-09-20 09:16:32 +00:00
parent 5039daaf2e
commit fc57cd59ff
5 changed files with 46 additions and 11 deletions

View file

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