YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
condition_variable_any.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#if YACLIB_FAULT_CONDITION_VARIABLE_ANY == 2
// TODO(myannyax) Implement
4
/*
5
# error "YACLIB_FAULT=FIBER not implemented yet"
6
7
# include <yaclib/fault/detail/condition_variable_any.hpp>
8
# include <yaclib/fault/detail/fiber/condition_variable_any.hpp>
9
10
namespace yaclib_std {
11
12
using condition_variable_any = yaclib::detail::ConditionVariableAny<yaclib::detail::fiber::ConditionVariableAny>;
13
14
} // namespace yaclib_std
15
*/
16
#elif YACLIB_FAULT_CONDITION_VARIABLE_ANY == 1
17
# include <
yaclib/fault/detail/condition_variable_any.hpp
>
18
19
# include <condition_variable>
20
21
namespace
yaclib_std
{
22
23
using
condition_variable_any
=
yaclib::detail::ConditionVariableAny<std::condition_variable_any>
;
24
25
}
// namespace yaclib_std
26
#else
27
# include <condition_variable>
28
29
namespace
yaclib_std
{
30
31
using
condition_variable_any
= std::condition_variable_any;
32
33
}
// namespace yaclib_std
34
#endif
yaclib::detail::ConditionVariableAny
Definition
condition_variable_any.hpp:13
condition_variable_any.hpp
yaclib_std
Definition
coro.hpp:47
yaclib_std::condition_variable_any
std::condition_variable_any condition_variable_any
Definition
condition_variable_any.hpp:31
include
yaclib_std
detail
condition_variable_any.hpp
Generated by
1.9.8