Method: Jekyll::Utils::ThreadEvent#wait

Defined in:
lib/jekyll/utils/thread_event.rb

#waitObject


24
25
26
27
28
# File 'lib/jekyll/utils/thread_event.rb', line 24

def wait
  @lock.synchronize do
    @cond.wait(@lock) unless @flag
  end
end