YACLib
C++ library for concurrent tasks execution
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
w
y
Functions
a
c
d
f
g
i
l
m
n
o
p
r
s
t
u
w
y
Variables
Typedefs
a
c
d
f
h
i
l
m
r
s
t
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
~
Variables
_
c
i
j
n
p
s
u
v
Typedefs
b
d
e
f
i
m
n
p
r
s
t
v
w
Enumerations
Enumerator
Related Symbols
Files
File List
File Members
All
Functions
Macros
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
mutex.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#if YACLIB_FAULT_MUTEX == 2
4
# include <
yaclib/fault/detail/fiber/mutex.hpp
>
5
# include <
yaclib/fault/detail/mutex.hpp
>
6
7
namespace
yaclib_std
{
8
9
using
mutex
=
yaclib::detail::Mutex<yaclib::detail::fiber::Mutex>
;
10
11
}
// namespace yaclib_std
12
13
#elif YACLIB_FAULT_MUTEX == 1
14
# include <
yaclib/fault/detail/mutex.hpp
>
15
16
# include <mutex>
17
18
namespace
yaclib_std
{
19
20
using
mutex
=
yaclib::detail::Mutex<std::mutex>
;
21
22
}
// namespace yaclib_std
23
#else
24
# include <mutex>
25
26
namespace
yaclib_std
{
27
28
using
mutex
= std::mutex;
29
30
}
// namespace yaclib_std
31
#endif
yaclib::detail::Mutex
Definition
mutex.hpp:8
mutex.hpp
mutex.hpp
yaclib_std
Definition
coro.hpp:47
yaclib_std::mutex
std::mutex mutex
Definition
mutex.hpp:28
include
yaclib_std
detail
mutex.hpp
Generated by
1.9.8