synchronize()
Takes a block and wraps it with the runner’s shared mutex.
# File lib/minitest/unit.rb, line 732 def synchronize Minitest::Unit.runner.synchronize do yield end end