method
sync_synchronize
sync_synchronize(mode = EX)
public
Hide source
# File lib/sync.rb, line 229 def sync_synchronize(mode = EX) Thread.handle_interrupt(StandardError => :on_blocking) do sync_lock(mode) begin yield ensure sync_unlock end end end