YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
recursive_mutex.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#if YACLIB_FAULT_RECURSIVE_MUTEX == 2
4
# include <
yaclib/fault/detail/fiber/recursive_mutex.hpp
>
5
# include <
yaclib/fault/detail/recursive_mutex.hpp
>
6
7
namespace
yaclib_std
{
8
9
using
recursive_mutex
=
yaclib::detail::RecursiveMutex<yaclib::detail::fiber::RecursiveMutex>
;
10
11
}
// namespace yaclib_std
12
#elif YACLIB_FAULT_RECURSIVE_MUTEX == 1
13
# include <
yaclib/fault/detail/recursive_mutex.hpp
>
14
15
# include <mutex>
16
17
namespace
yaclib_std
{
18
19
using
recursive_mutex
=
yaclib::detail::RecursiveMutex<std::recursive_mutex>
;
20
21
}
// namespace yaclib_std
22
#else
23
# include <mutex>
24
25
namespace
yaclib_std
{
26
27
using
recursive_mutex
= std::recursive_mutex;
28
29
}
// namespace yaclib_std
30
#endif
yaclib::detail::RecursiveMutex
Definition
recursive_mutex.hpp:9
recursive_mutex.hpp
recursive_mutex.hpp
yaclib_std
Definition
coro.hpp:47
yaclib_std::recursive_mutex
std::recursive_mutex recursive_mutex
Definition
recursive_mutex.hpp:27
include
yaclib_std
detail
recursive_mutex.hpp
Generated by
1.9.8