suspend

suspend 命令用于暂挂指定的线程。如果该线程已处于暂挂状态,那么此命令无效。

语法

suspend threadName
suspend #Thread threadName

自变量

threadName

指定要暂挂的线程。


反馈