任何对一组事件的访问都由一个互斥对象来保护。
Any access to a collection of events is guarded by a mutual exclusion object.
当与互斥一起使用时,pthreads条件变量可以在线程之间提供基于事件的同步机制,不过这是同步的。
When used along with the Mutex, pthreads conditional variables provide event-based synchronization between threads, but they are synchronous.
当与互斥一起使用时,pthreads条件变量可以在线程之间提供基于事件的同步机制,不过这是同步的。
When used along with the Mutex, pthreads conditional variables provide event-based synchronization between threads, but they are synchronous.
应用推荐