https://zhuanlan.zhihu.com/p/125739705 (algorithm one, two, peterson 算法)
https://zhuanlan.zhihu.com/p/87387993 (mutex和semaphores)
https://zhuanlan.zhihu.com/p/332649743 (semaphores更多内容)
https://zhuanlan.zhihu.com/p/125739705 (algorithm one, two, peterson 算法)
https://zhuanlan.zhihu.com/p/87387993 (mutex和semaphores)
https://zhuanlan.zhihu.com/p/332649743 (semaphores更多内容)