YACLib
C++ library for concurrent tasks execution
Loading...
Searching...
No Matches
jthread.hpp
Go to the documentation of this file.
1#pragma once
2
3#if YACLIB_FAULT_JTHREAD == 2 // TODO(myannyax) Implement
4# error "YACLIB_FAULT=FIBER not implemented yet"
5#elif YACLIB_FAULT_JTHREAD == 1 // TODO(myannyax) Implement, needs ifdef because these from C++20
6# error "YACLIB_FAULT=THREAD not implemented yet"
7#else
8# include <thread>
9#endif