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


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