interrupted()和isInterrupted()的區別

原創轉載請註明出處:http://agilestyle.iteye.com/blog/2359893   Method in Java Doc   調用interrupt()方法僅僅是在當前線程中打了一個停止的標記,並不是真正的停止線程 package org.fool.java.concurrent.interrupt; public class InterruptTest1 { p
相關文章
相關標籤/搜索