Mutual exclusion can be achieved with the use of a semaphore or mutex.
互斥现象能由使用信号灯或互斥完成。
A type of semaphore with just two states. Also called a mutex.
一种只有两种状态的信号。也叫互斥信号。
The mutex (mutual exclusion) semaphore ensures that only one process at a time has access to the region of code.
这种互斥通信法保证在同一时间仅有一个进程访问此码区。
应用推荐