⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 condition.h

📁 This is pthread c++ wrapper class. Developer can easily develop multithread programs with GNU C++ ju
💻 H
字号:
#ifndef _CONDITION_H_#define _CONDITION_H_#include <pthread.h>class Mutex;class Condition{public:    Condition();    virtual ~Condition();    Condition(const Condition& copy);    void   notify();    void   notifyAll();    void   wait(Mutex& mutex);    bool   wait(Mutex& mutex, long msec);  private:    pthread_cond_t      *m_pcond;    bool                 m_isOwner;};#endif // _CONDITION_H_

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -