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