class Litescheduler

def synchronize(&block)

this is a no-op for fibers
bold assumption, we will only synchronize threaded code
def synchronize(&block)
  # do nothing, just run the block as is
  return yield if @scheduler == :fiber
  return yield if @scheduler == :polyphony
  @mutex.synchronize(&block)
end