A mutex which logs every enter/exit on synchronize
6 7 8 9 10
# File 'lib/mqrpc/sizedhash.rb', line 6 def synchronize(&blk) MQRPC::logger.debug "Enter synchronize #{self} @ #{caller[0]}" super { blk.call } MQRPC::logger.debug "Exit synchronize #{self} @ #{caller[0]}" end