Java线程

  • 可以通过Process中的exitValue()配合Thread.sleep()和Process中的destroy()进行轮询来实现线程超时处理

你可能感兴趣的:(Java线程)