YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
thread.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#if YACLIB_FAULT_THREAD == 2
4
# include <
yaclib/fault/detail/fiber/thread.hpp
>
5
6
namespace
yaclib_std
{
7
8
using
thread
=
yaclib::detail::fiber::Thread
;
9
10
}
// namespace yaclib_std
11
12
// #elif YACLIB_FAULT_THREAD == 1 // TODO(myannyax) Maybe implement
13
// # error "YACLIB_FAULT=THREAD not implemented yet"
14
#else
15
# include <thread>
16
17
namespace
yaclib_std
{
18
19
using
thread
= std::thread;
20
21
}
// namespace yaclib_std
22
#endif
yaclib::detail::fiber::Thread
Definition
thread.hpp:13
thread.hpp
yaclib_std
Definition
coro.hpp:47
yaclib_std::thread
std::thread thread
Definition
thread.hpp:19
include
yaclib_std
detail
thread.hpp
Generated by
1.9.8