= private = protected
sync_try_lock(mode = EX)
locking methods.
# File lib/sync.rb, line 131 def sync_try_lock(mode = EX) return unlock if sync_mode == UN Thread.critical = true ret = sync_try_lock_sub(sync_mode) Thread.critical = false ret end