XWOS API  4.0
XWOS C/C++ API参考手册
载入中...
搜索中...
未找到
SCond.hxx
浏览该文件的文档.
1
13#ifndef __xwos_cxx_sync_SCond_hxx__
14#define __xwos_cxx_sync_SCond_hxx__
15
18
19namespace xwos {
20namespace sync {
21
32class SCond : public Cond
33{
34 private:
37 public:
41 SCond() : Cond()
42 {
45 }
48 /* 生命周期管理 */
50 xwer_t put() { return xwos_cond_put(&mCond); }
51};
52
57} // namespace sync
58} // namespace xwos
59
60#endif /* xwos/cxx/sync/SCond.hxx */
xwos::sync::Cond
条件量基类
Definition Cond.hxx:56
struct xwos_cond * mCondPtr
Definition Cond.hxx:58
静态条件量
Definition SCond.hxx:33
struct xwos_cond mCond
Definition SCond.hxx:35
xwer_t grab()
Definition SCond.hxx:49
xwer_t put()
Definition SCond.hxx:50
SCond()
构造函数
Definition SCond.hxx:41
操作系统抽象层:条件量
signed long xwer_t
Definition type.h:554
static xwer_t xwos_cond_init(struct xwos_cond *cond)
XWOS API:静态方式初始化条件量对象
Definition cond.h:114
static xwer_t xwos_cond_fini(struct xwos_cond *cond)
XWOS API:销毁静态方式初始化的条件量对象
Definition cond.h:129
static xwer_t xwos_cond_grab(struct xwos_cond *cond)
XWOS API:增加条件量对象的引用计数
Definition cond.h:148
static xwer_t xwos_cond_put(struct xwos_cond *cond)
XWOS API:减少条件量对象的引用计数
Definition cond.h:167
Definition Bmp.hxx:21
XWOS API:条件量对象
Definition cond.h:87