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