Sha256: 2c0130750cf98b6113086c22fd8df2c606501c4e0401a63584b9ccf4dda8d806

Contents?: true

Size: 194 Bytes

Versions: 21

Compression:

Stored size: 194 Bytes

Contents

a = 2
debugger
b = 3
@break1 = false
@break2 = false

t1 = Thread.new do
  until @break1
    sleep 0.02
    @break2 = true
  end
end

until @break2
  sleep 0.02
  @break1 = true
end

t1.join
t1

Version data entries

21 entries across 20 versions & 5 rubygems

Version Path
logstash-output-icinga-1.1.0 vendor/jruby/1.9/gems/debugger-1.6.8/test/examples/trace_threads.rb
debugger-1.6.8 test/examples/trace_threads.rb
debugger-1.6.7 test/examples/trace_threads.rb
debugger-1.6.6 test/examples/trace_threads.rb
debugger-1.6.5 test/examples/trace_threads.rb
debugger-1.6.4 test/examples/trace_threads.rb
debugger-1.6.3 test/examples/trace_threads.rb
debugger-1.6.2 test/examples/trace_threads.rb
candlepin-api-0.4.0 bundle/ruby/gems/debugger-1.6.1/test/examples/trace_threads.rb
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/debugger-1.6.1/test/examples/trace_threads.rb
debugger-1.6.1 test/examples/trace_threads.rb
debugger-1.6.0 test/examples/trace_threads.rb
debugger2-1.0.0.beta2 test/examples/trace_threads.rb
debugger2-1.0.0.beta1 test/examples/trace_threads.rb
debugger-1.5.0 test/examples/trace_threads.rb
needy_debugger-1.4.0 test/examples/trace_threads.rb
debugger-1.4.0 test/examples/trace_threads.rb
debugger-1.3.3 test/examples/trace_threads.rb
debugger-1.3.2 test/examples/trace_threads.rb
debugger-1.3.1 test/examples/trace_threads.rb