class Libhoney::Queueing::QLock
Attributes
mutex[R]
Public Class Methods
new()
click to toggle source
# File lib/libhoney/queueing/sized_queue_with_timeout.rb, line 167 def initialize @mutex = Mutex.new end
Public Instance Methods
synchronize(&block)
click to toggle source
# File lib/libhoney/queueing/sized_queue_with_timeout.rb, line 171 def synchronize(&block) @mutex.synchronize(&block) end