因為mutex 比較好理解, 而binary semaphore 又跟mutex 長得很像, 所以經常被同時談起。 兩者有一個很大的差別: mutex 上鎖開鎖的必須是同一個thread, ...
確定! 回上一頁