mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
06d8db19cb
commit
3293f6cfb9
2 changed files with 7 additions and 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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue