method
suspend
v2_2_9 -
Show latest stable
- Class:
DEBUGGER__
suspend()public
No documentation available.
# File lib/debug.rb, line 946
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