YSTest: Mutex.h 文件参考

YSTest PreAlpha_b900_20201012 The YSLib Test Project

命名空间 | 宏定义 | 类型定义 | 函数
Mutex.h 文件参考
YFramework Library » YCommonLib

互斥量。 更多...

`#include "YModules.h"`
`#include <YCLib/YCommon.h>`
`#include <ystdex/type_op.hpp>`
`#include <ystdex/pseudo_mutex.h>`
Mutex.h 的引用(Include)关系图:
此图展示该文件直接或间接的被哪些文件引用了:

浏览源代码.

## 命名空间

| platform
| 默认平台命名空间。
| platform::Concurrency
| platform::Threading

## 宏定义

#define | YCL_Impl_Atomic_Tmpl ystdex::identity_t
#define | YCL_Impl_Ns_Mutex ystdex::single_thread
#define | YCL_Impl_Ns_Threading ystdex::threading

## 类型定义

template<typename _type >
using | platform::Concurrency::atomic = ystdex::cond_or_t< ystdex::or_< std::is_integral< _type >, std::is_pointer< _type > >, void, ystdex::identity_t, _type >
| 支持的原子性的整数或指针类型。 更多...
template<class _tMutex >
using | platform::Concurrency::shared_lock = ystdex::threading::shared_lock< _tMutex, UseLockDebug >
template<class _tMutex >
using | platform::Concurrency::shared_lock_guard = ystdex::threading::lock_guard< _tMutex, UseLockDebug, shared_lockable_adaptor< _tMutex > >
template<class _type , typename _tReference = ystdex::lref<_type>>
using | platform::Concurrency::AdaptedLock = ystdex::threading::lock_base< _type, UseLockDebug, lockable_adaptor< _type, _tReference > >
template<class _type , typename _tReference = ystdex::lref<_type>>
using | platform::Concurrency::SharedAdaptedLock = ystdex::threading::lock_base< _type, UseLockDebug, shared_lockable_adaptor< _type, _tReference > >
template<class _type , typename _tReference = ystdex::lref<_type>>
using | platform::Concurrency::AdaptedLockGuard = ystdex::threading::lock_guard< _type, UseLockDebug, lockable_adaptor< _type, _tReference > >
template<class _type , typename _tReference = ystdex::lref<_type>>
using | platform::Concurrency::SharedAdaptedLockGuard = ystdex::threading::lock_guard< _type, UseLockDebug, shared_lockable_adaptor< _type, _tReference > >
template<class _type >
using | platform::Concurrency::IndirectLock = AdaptedLock< _type, ystdex::indirect_ref_adaptor< _type > >
template<class _type >
using | platform::Concurrency::SharedIndirectLock = SharedAdaptedLock< _type, ystdex::indirect_ref_adaptor< _type > >
template<class _type >
using | platform::Concurrency::IndirectLockGuard = AdaptedLockGuard< _type, ystdex::indirect_ref_adaptor< _type > >
template<class _type >
using | platform::Concurrency::SharedIndirectLockGuard = SharedAdaptedLockGuard< _type, ystdex::indirect_ref_adaptor< _type > >

## 函数

yconstfn bool | platform::Concurrency::UseLockDebug (true)

## 详细描述

互斥量。

版本
  r164

作者
  FrankHB frank.nosp@m.hb19.nosp@m.89@gm.nosp@m.ail..nosp@m.com

自从
  build 551

创建时间:
  2014-11-04 05:17:14 +0800

修改时间:
  2016-09-01 00:08 +0800

文本编码:
  UTF-8

模块名称:
  YCLib::Mutex

在文件 Mutex.h 中定义.

## 宏定义说明

## ◆ YCL_Impl_Atomic_Tmpl

#define YCL_Impl_Atomic_Tmpl ystdex::identity_t

在文件 Mutex.h 第 45 行定义.

## ◆ YCL_Impl_Ns_Mutex

#define YCL_Impl_Ns_Mutex ystdex::single_thread

在文件 Mutex.h 第 46 行定义.

## ◆ YCL_Impl_Ns_Threading

#define YCL_Impl_Ns_Threading ystdex::threading

在文件 Mutex.h 第 47 行定义.