module DEBUGGER__::MultiProcessGroup

def sync &b

def sync &b
  info "sync"
  lock
  begin
    b.call if b
  ensure
    unlock
  end
end