# File lib/phusion_passenger/utils/lock.rb, line 39 def synchronize lock if !@locked begin yield(self) ensure unlock if @locked end end