class Minitest::Reporter

:nodoc:

def self.synchronize # :nodoc:

:nodoc:
def self.synchronize # :nodoc:
  if @mutex then # see parallel_each.rb
    @mutex.synchronize { yield }
  else
    yield
  end
end

def initialize io = $stdout, options = {} # :nodoc:

:nodoc:
def initialize io = $stdout, options = {} # :nodoc:
  self.io      = io
  self.options = options
end

def record result

def record result
  Reporter.synchronize do
    simple_record result
  end
end