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