Sha256: a980ca008e0e9325ecfbf5c97466612c64748347e2bcf374bd079d93fd73a1cc

Contents?: true

Size: 192 Bytes

Versions: 6

Compression:

Stored size: 192 Bytes

Contents

a = 2
byebug
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

6 entries across 6 versions & 1 rubygems

Version Path
byebug-1.1.0 test/examples/trace_threads.rb
byebug-1.0.3 test/examples/trace_threads.rb
byebug-1.0.2 test/examples/trace_threads.rb
byebug-1.0.1 test/examples/trace_threads.rb
byebug-1.0.0 test/examples/trace_threads.rb
byebug-0.0.1 test/examples/trace_threads.rb