class Litescheduler
def synchronize(&block)
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