Allow only 3 instances of an application using semaphores

后端 未结 3 683
生来不讨喜
生来不讨喜 2021-02-09 13:09

I am trying to implement a simple routine using semaphores that will allow me to run only 3 instances of the application. I could use 3 mutexes but that is not a nice approach i

3条回答
提交回复
热议问题