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
相關文章
相關標籤/搜索