public Method

Sync_m.sync_try_lock(mode = EX)

locking methods.

Source Code

# File 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
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.