Counting semaphores can be initialized to any arbitrary value which should depend on how many resources you have available for that particular shared data.
英
美
- 计数信号量可以初始化为任意的初始值,这个值应该由你所拥有的某种特定共享数据的数量决定。
