method
suspend
Ruby latest stable (v2_5_5)
-
0 notes -
Class: DEBUGGER__
suspend()
public
Hide source
# File lib/debug.rb, line 947 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