二、wait 的用法詳解(這裡的t1是一個執行緒(鎖)) ... 4. notify也要在synchronized使用,應該指定物件,t1. notify(),通知t1物件的等待池裡的執行緒使一個 ...
確定! 回上一頁