Binary semaphores act much like mutexes, while counting semaphores can behave as recursive mutexes.

  • 二进制信号量运作起来类似于互斥锁,而计数信号量类似递归的互斥锁。
目录 查词历史