resource-oriented synchronization primitive [计] 面向资源的同步原语
A condition variable allows a task to wait on a synchronization primitive within a critical region.
一个条件变量允许任务等待一个同步原语,以进入临界区。
Semaphores are another type of synchronization primitive that come in two flavors: binary and counting.
信号量是又一种以两种风格出现的基本方法:二进制和计数模式。
A primitive lock (lock) is a synchronization primitive that is not owned by a particular thread when locked.
一个原始的锁(锁)是一个同步原语是不属于一个特定的线程锁定时。
应用推荐