class SystemUniversal
def new_thread child_pid, block
def new_thread child_pid, block q = Queue.new Thread.new(child_pid) do |cid| current = Thread.current current.abort_on_exception = true q.push current block.call cid end q.pop end
def new_thread child_pid, block q = Queue.new Thread.new(child_pid) do |cid| current = Thread.current current.abort_on_exception = true q.push current block.call cid end q.pop end