XWOS API  4.0
XWOS C/C++ API参考手册
载入中...
搜索中...
未找到
DFlg.hxx
浏览该文件的文档.
1
13#ifndef __xwos_cxx_sync_DFlg_hxx__
14#define __xwos_cxx_sync_DFlg_hxx__
15
17#include <xwos/cxx/sync/Flg.hxx>
18
19namespace xwos {
20namespace sync {
21
32template<xwsz_t TNum>
33class DFlg : public Flg<TNum>
34{
35 private:
39 public:
44 : Flg<TNum>()
45 {
47 if (XWOK == mCtorRc) {
49 }
50 }
61
62 /* 生命周期管理 */
65};
66
71} // namespace sync
72} // namespace xwos
73
74#endif /* xwos/cxx/sync/DFlg.hxx */
xwos::sync::Flg
动态事件标志
Definition DFlg.hxx:34
xwer_t getDFlgCtorRc()
获取动态事件标志构造的结果
Definition DFlg.hxx:60
DFlg()
构造函数
Definition DFlg.hxx:43
xwer_t release()
Definition DFlg.hxx:64
xwos_flg_d mFlgDesc
Definition DFlg.hxx:36
xwer_t mCtorRc
Definition DFlg.hxx:37
xwer_t acquire()
Definition DFlg.hxx:63
~DFlg()
析构函数
Definition DFlg.hxx:54
事件标志基类
Definition Flg.hxx:62
操作系统抽象层:事件标志
#define XWOK
No error
Definition errno.h:182
signed long xwer_t
Definition type.h:554
static xwer_t xwos_flg_release(xwos_flg_d flgd)
XWOS API:检查事件标志对象的标签并减少引用计数
Definition flg.h:252
static xwer_t xwos_flg_acquire(xwos_flg_d flgd)
XWOS API:检查事件标志对象的标签并增加引用计数
Definition flg.h:235
static xwer_t xwos_flg_create(xwos_flg_d *flgd, xwsz_t num)
XWOS API:动态方式创建事件标志对象
Definition flg.h:203
static xwer_t xwos_flg_delete(xwos_flg_d flgd)
XWOS API:删除动态方式创建的事件标志对象
Definition flg.h:218
Definition Bmp.hxx:21
XWOS API:事件标志对象描述符
Definition flg.h:97
struct xwos_flg * flg
Definition flg.h:98