summaryrefslogtreecommitdiff
path: root/lib/thread.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-09-20 09:16:32 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2000-09-20 09:16:32 +0000
commitfc57cd59ffe2cca34d6bd48962f0be47eed0f509 (patch)
treea1294fef6dabf6de477c60846fa10a2bb72ff0f8 /lib/thread.rb
parent5039daaf2e2c3c21c4b77397210b3e3cfe5e7af1 (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.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread.rb b/lib/thread.rb
index 12fe81c..d4b6ad6 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