YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
timed_mutex.hpp
Go to the documentation of this file.
1#pragma once
2
3#if YACLIB_FAULT_TIMED_MUTEX == 2
4
7
8namespace yaclib_std {
9
11
12} // namespace yaclib_std
13#elif YACLIB_FAULT_TIMED_MUTEX == 1
15
16# include <mutex>
17
18namespace yaclib_std {
19
21
22} // namespace yaclib_std
23#else
24# include <mutex>
25
26namespace yaclib_std {
27
28using timed_mutex = std::timed_mutex;
29
30} // namespace yaclib_std
31#endif
std::timed_mutex timed_mutex