= private = protected
sync_try_lock(mode = EX)
locking methods.
# File lib/sync.rb, line 129 def sync_try_lock(mode = EX) return unlock if mode == UN @sync_mutex.synchronize do sync_try_lock_sub(mode) end end