Actions
Backport #5509
closed[patch] scope error in Sync#sync_try_lock
Status:
Rejected
Assignee:
-
Description
The fix says it all:
--- sync.rb.bak 2011-10-29 18:28:13.684027886 +0300
+++ sync.rb 2011-10-29 18:28:47.136028818 +0300
@@ -127,6 +127,7 @@
locking methods.¶
def sync_try_lock(mode = EX)
return unlock if mode == UN
- ret = nil
@sync_mutex.synchronize do
ret = sync_try_lock_sub(mode)
end
Actions
Like0
Like0Like0Like0