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 | 17d0ab997181e34dd37f3096e7415488b986801f (patch) | |
tree | 5be3c66d2c69d63fc71089af8c9f947a0a89fccb | |
parent | 03c0013466deabcc1053a2c23010fd7ac60bb787 (diff) | |
download | ruby-17d0ab997181e34dd37f3096e7415488b986801f.tar.gz ruby-17d0ab997181e34dd37f3096e7415488b986801f.tar.xz ruby-17d0ab997181e34dd37f3096e7415488b986801f.zip |
* lib/sync.rb (Sync_m#sync_exclusive): fixed
typo. [ruby-dev:36233] [RubyForge#11680]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@19280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/sync.rb | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Wed Sep 10 10:12:29 2008 akira yamada <akira@arika.org> + + * lib/sync.rb (Sync_m#sync_exclusive): fixed + typo. [ruby-dev:36233] [RubyForge#11680] + Wed Sep 10 01:57:23 2008 Tanaka Akira <akr@fsij.org> * tool/transcode-tblgen.rb (StrSet#hash): cache hash value. diff --git a/lib/sync.rb b/lib/sync.rb index 22f160f29..f4dea76d1 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 |