diff options
author | akira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-10 01:22:35 +0000 |
---|---|---|
committer | akira <akira@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-10 01:22:35 +0000 |
commit | 3293f6cfb9abebcba9b0d52aaaa16f8b5542b9ec (patch) | |
tree | 5be3c66d2c69d63fc71089af8c9f947a0a89fccb /lib/sync.rb | |
parent | 06d8db19cba0fb26f54d28b97e22537b8483ce9b (diff) |
* lib/sync.rb (Sync_m#sync_exclusive): fixed
typo. [ruby-dev:36233] [RubyForge#11680]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/sync.rb')
-rw-r--r-- | lib/sync.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sync.rb b/lib/sync.rb index 22f160f290..f4dea76d1f 100644 --- a/lib/sync.rb +++ b/lib/sync.rb @@ -126,9 +126,9 @@ module Sync_m # locking methods. def sync_try_lock(mode = EX) - return unlock if sync_mode == UN + return unlock if mode == UN @sync_mutex.synchronize do - ret = sync_try_lock_sub(sync_mode) + ret = sync_try_lock_sub(mode) end ret end |