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