suspend() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/debug.rb, line 766
  def suspend
    MUTEX.synchronize do
      make_thread_list
      for th, in @thread_list
        next if th == Thread.current
        context(th).set_suspend
      end
    end
    # Schedule other threads to suspend as soon as possible.
    Thread.pass
  end
Register or log in to add new notes.