YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
condition_variable.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#if YACLIB_FAULT_CONDITION_VARIABLE == 2
4
# include <
yaclib/fault/detail/condition_variable.hpp
>
5
# include <
yaclib/fault/detail/fiber/condition_variable.hpp
>
6
7
namespace
yaclib_std
{
8
9
using
condition_variable
=
yaclib::detail::ConditionVariable<yaclib::detail::fiber::ConditionVariable>
;
10
11
}
// namespace yaclib_std
12
#elif YACLIB_FAULT_CONDITION_VARIABLE == 1
13
# include <
yaclib/fault/detail/condition_variable.hpp
>
14
15
# include <condition_variable>
16
17
namespace
yaclib_std
{
18
19
using
condition_variable
=
yaclib::detail::ConditionVariable<std::condition_variable>
;
20
21
}
// namespace yaclib_std
22
#else
23
# include <condition_variable>
24
25
namespace
yaclib_std
{
26
27
using
condition_variable
= std::condition_variable;
28
29
}
// namespace yaclib_std
30
#endif
yaclib::detail::ConditionVariable
Definition
condition_variable.hpp:20
condition_variable.hpp
condition_variable.hpp
yaclib_std
Definition
coro.hpp:47
yaclib_std::condition_variable
std::condition_variable condition_variable
Definition
condition_variable.hpp:27
include
yaclib_std
detail
condition_variable.hpp
Generated by
1.9.8