class RSpec::Support::ReentrantMutex

def enter

def enter
  @mutex.lock unless @mutex.owned?
  @count += 1
end