YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
mutex.hpp
Go to the documentation of this file.
1#pragma once
2
3#if YACLIB_FAULT_MUTEX == 2
6
7namespace yaclib_std {
8
10
11} // namespace yaclib_std
12
13#elif YACLIB_FAULT_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 mutex = std::mutex;
29
30} // namespace yaclib_std
31#endif
std::mutex mutex
Definition mutex.hpp:28