I am trying to write a MSBuild logger module which logs information when receiving TaskStarted events about the Task and its parameters.
目录前言Lock单协程加锁加锁被阻塞Unlock无协程阻塞下的解锁解锁并唤醒协程自旋什么是自旋自旋条件自旋的优势自旋的问题Mutex 的模式Normal 模式Starving 模式Woken 状态前言