diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-03-03 02:39:35 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 1998-03-03 02:39:35 +0000 |
commit | 0861165bdcef50bb504526153d87d8e0a7be0140 (patch) | |
tree | 41d899ef727f1b9adbb8efdb349eb4853eb2db62 /lib/sync.rb | |
parent | 6bb525282cdd551bd240557daf019378ee211952 (diff) |
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/sync.rb')
-rw-r--r-- | lib/sync.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sync.rb b/lib/sync.rb index 1cf70a66ab..6d79cc26bf 100644 --- a/lib/sync.rb +++ b/lib/sync.rb @@ -297,8 +297,8 @@ module Sync_m private :sync_try_lock_sub def sync_synchronize(mode = EX) + sync_lock(mode) begin - sync_lock(mode) yield ensure sync_unlock |