| 
    fastdo
    0.5.12
    
   | 
 
互斥量 更多...
#include <threads.hpp>


Public 成员函数 | |
| Mutex (bool isCreate=false) | |
| ~Mutex () | |
| Mutex (Mutex &&other) | |
| Mutex & | operator= (Mutex &&other) | 
| int | create () | 
| 创建并初始化  更多... | |
| int | destroy () | 
| 销毁  更多... | |
| bool | lock () | 
| bool | tryLock () | 
| bool | unlock () | 
| MutexAttr & | attr () | 
| 设置互斥量属性对象,下次create()时生效  更多... | |
  Public 成员函数 继承自 winux::ILockObj | |
| virtual | ~ILockObj () | 
友元 | |
| class | Condition | 
互斥量
在文件 threads.hpp 第 256 行定义.
      
  | 
  explicit | 
| winux::Mutex::~Mutex | ( | ) | 
| winux::Mutex::Mutex | ( | Mutex && | other | ) | 
| MutexAttr& winux::Mutex::attr | ( | ) | 
设置互斥量属性对象,下次create()时生效
| int winux::Mutex::create | ( | ) | 
创建并初始化
| int winux::Mutex::destroy | ( | ) | 
销毁
      
  | 
  virtual | 
实现了 winux::ILockObj.
      
  | 
  virtual | 
实现了 winux::ILockObj.
      
  | 
  virtual | 
实现了 winux::ILockObj.
      
  | 
  friend | 
在文件 threads.hpp 第 280 行定义.