Method: Datadog::Core::Remote::Component::Barrier#initialize
- Defined in:
- lib/datadog/core/remote/component.rb
#initialize(timeout = nil) ⇒ Barrier
Returns a new instance of Barrier.
92 93 94 95 96 97 98 |
# File 'lib/datadog/core/remote/component.rb', line 92 def initialize(timeout = nil) @once = false @timeout = timeout @mutex = Mutex.new @condition = ConditionVariable.new end |