method

suspend

v1_8_7_72 - Show latest stable - Class: DEBUGGER__
suspend()
public

No documentation available.

# File lib/debug.rb, line 808
  def suspend
    saved_crit = Thread.critical
    Thread.critical = true
    make_thread_list
    for th, in @thread_list
      next if th == Thread.current
      context(th).set_suspend
    end
    Thread.critical = saved_crit
    # Schedule other threads to suspend as soon as possible.
    Thread.pass unless Thread.critical
  end