Using process - shared mutexes and condition variables 使用进程共享的互斥体( mutex )和条件变量
Set the condition variable s state to false subsequent calls to 把条件变量的状态设置为false (其后对于
The notion of a state - based condition variable is an important one 基于状态的条件变量的概念是很重要的。
Methods , there can be more than one condition variable associated with a given ,可以有不止一个条件变量与它关联。
Set the condition variable s state to true and release any waiting threads 把条件变量的状态设置为true并释放任何等待的进程。
Turns off the automatic logging of the list of condition variables for use by the aix debugger 关闭aix调试程序使用的条件变量列表的自动记录。
Release all waiting threads without changing the state of the underlying condition variable 释放所有等待的线程,而不改变其下面的条件变量的状态。
There is no way to implement a traditional condition variable that remains in a " signaled " state 无法使用传统条件变量来实现处于一个“信号” ( signaled )状态。
Lock object acts as a factory object for condition variables bound to that lock , and unlike with the standard wait 对象则充当绑定到这个锁的条件变量的工厂对象,与标准的
To that end , the threading module provides a number of synchronization primitives including locks , events , condition variables , and semaphores 最终,线程模块提供了几个基本的同步方式如锁、事件,条件变量和旗语。