Is also used to break threads out of operations like 還用于使線程跳出
Wakes a thread out of any wait it might be in and causes a 將線程從它可能處于的任何等待中喚醒,并在目標線程中引發(fā)
Breaks another thread out of its suspended state and causes it to resume execution 會中斷另一線程的掛起狀態(tài)并使之繼續(xù)執(zhí)行。與
Can be used to break a thread out of blocking operations such as waiting for access to a synchronized region of code 可用于使線程跳出阻止操作(如等待訪問同步代碼區(qū)域) 。
Breaks another thread out of the suspend state and causes the thread to resume execution , regardless of how many times 均會使另一個線程脫離掛起狀態(tài),并導致該線程繼續(xù)執(zhí)行。
Method wakes the destination thread out of any wait state it may be in and causes an exception to be raised 方法會將目標線程從其可能處于的任何等待狀態(tài)中喚醒,并導致引發(fā)異常。
Finally , as i discussed earlier , threads out of the server s control make it difficult to achieve an orderly shutdown 最后,正如我以前討論過的,不受服務器控制的線程會造成有序關(guān)機很難實現(xiàn)。
Property indicates the total amount of time that the system has taken the thread out of the wait state and given it priority on any processor 屬性指示系統(tǒng)使該線程離開等待狀態(tài)并在任何處理器上給予它優(yōu)先級的時間總量。
If an object has multiple resources , it s unnecessary to lock all threads out of the whole object in order to have one thread use only a subset of the thread s resources 如果一個對象擁有多個資源,就不需要只為了讓一個線程使用其中一部分資源,就將所有線程都鎖在外面。