java线程之sleep、interrupt方法

下面是一个测试interrupt方法的小代码:java package cn.edu.ustc.thread; import java.util.Date; public class TestInterrupt { public static void main(String[] args){ MyThread thread = new MyThread(); thread.star
相关文章
相关标签/搜索