您即将离开知乎,请注意您的帐号和财产安全。
https://blog.feabhas.com/2009/09/mutex-vs-semaphores-%E2%80%93-part-2-the-mutex/