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
10namespace yaclib_std {
11
12using condition_variable_any = yaclib::detail::ConditionVariableAny<yaclib::detail::fiber::ConditionVariableAny>;
13
14} // namespace yaclib_std
15 */
16#elif YACLIB_FAULT_CONDITION_VARIABLE_ANY == 1
18
19# include <condition_variable>
20
21namespace yaclib_std {
22
24
25} // namespace yaclib_std
26#else
27# include <condition_variable>
28
29namespace yaclib_std {
30
31using condition_variable_any = std::condition_variable_any;
32
33} // namespace yaclib_std
34#endif
std::condition_variable_any condition_variable_any