fastdo  0.5.12
winux::MutexAttr类 参考

互斥量属性 更多...

#include <threads.hpp>

Public 成员函数

 MutexAttr (bool isCreate=true)
 
 ~MutexAttr ()
 
 MutexAttr (MutexAttr &&other)
 
MutexAttroperator= (MutexAttr &&other)
 
int create ()
 创建并初始化 更多...
 
int destroy ()
 销毁 更多...
 
 operator bool () const
 判断是否创建了attr 更多...
 

友元

class Mutex
 

详细描述

互斥量属性

在文件 threads.hpp230 行定义.

构造及析构函数说明

winux::MutexAttr::MutexAttr ( bool  isCreate = true)
explicit
winux::MutexAttr::~MutexAttr ( )
winux::MutexAttr::MutexAttr ( MutexAttr &&  other)

成员函数说明

int winux::MutexAttr::create ( )

创建并初始化

int winux::MutexAttr::destroy ( )

销毁

winux::MutexAttr::operator bool ( ) const

判断是否创建了attr

MutexAttr& winux::MutexAttr::operator= ( MutexAttr &&  other)

友元及相关函数文档

friend class Mutex
friend

在文件 threads.hpp250 行定义.


该类的文档由以下文件生成: