golang 中 sync.Mutex 的實現
- 2022 年 4 月 6 日
- 筆記
mutex 的實現思想 mutex 主要有兩個 method: Lock() 和 Unlock() Lock() 可以通 …
Continue Readingmutex 的實現思想 mutex 主要有兩個 method: Lock() 和 Unlock() Lock() 可以通 …
Continue ReadingCondition介面提供了與Object阻塞(wait())與喚醒(notify()或notifyAll())相似的功 …
Continue Reading