Project

General

Profile

Bug #2092 ยป queue_ruby18.patch

quix (James M. Lawrence), 09/12/2009 09:49 PM

View differences:

lib/thread.rb (working copy)
282 282
      t.wakeup if t
283 283
    rescue ThreadError
284 284
      retry
285
    ensure
286
      Thread.critical = false
287 285
    end
288
    begin
289
      t.run if t
290
    rescue ThreadError
291
    end
286
  ensure
287
    Thread.critical = false
292 288
  end
293 289

  
294 290
  #
......
446 442
	t.wakeup if t
447 443
      rescue ThreadError
448 444
	retry
449
      ensure
450
	Thread.critical = false
451 445
      end
452
      begin
453
	t.run if t
454
      rescue ThreadError
455
      end
456 446
    end
457 447
    retval
448
  ensure
449
    Thread.critical = false
458 450
  end
459 451

  
460 452
  #