Counting semaphores can be initialized to any arbitrary value which should depend on how many resources you have available for that particular shared data.

 
  • 计数信号量可以初始化为任意的初始值,这个值应该由你所拥有的某种特定共享数据的数量决定。
今日热词
目录 附录 查词历史