binary y semaphore 二元信号灯
Contrast with binary semaphore.
相对二元信号而言。
A data structure for mutual exclusion, also known as a binary semaphore.
表现互斥现象的数据结构,也被当作二元信号灯。
Hopefully you should now be clear about the core differences between the Binary Semaphore, General (counting) Semaphore and the Mutex.
希望看到这里,你应该对二进制信号量,计数信号量和互斥锁的区别有了清晰的认识。
应用推荐