Semaphores are lighter than mutexes because their queues are FIFO ordered and do not have any overhead caused by the priority inheritance algorithm.

 
  • 信号量比互斥锁轻量级,因为它们的队列是FIFO排序的并且不会因优先级继承而产生任何开销。
今日热词
目录 附录 查词历史