class RSpec::Core::ReentrantMutex

def enter

def enter
  @mutex.lock if @owner != Thread.current
  @owner = Thread.current
  @count += 1
end