阅读背景:

在Java中指定的时间限制后杀死线程

来源:互联网 

Is there a way to kill a child thread after some specified time limit in Java? Edit: Also this particular thread may be blocked in its worst case (Thread is used to wait for a file modification and blocks until this event occurs), so im not sure that interrupt() will be successful?Is there a way to kill a child thread after som




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: