libcommunism
Userspace cooperative threading library
CothreadPrivate.h
Go to the documentation of this file.
1 #ifndef COTHREADPRIVATE_H
2 #define COTHREADPRIVATE_H
3 
5 
6 #include <functional>
7 
9 namespace libcommunism::internal {
10 extern std::function<void(libcommunism::Cothread *)> gReturnHandler;
11 };
12 
13 #endif
Instance of a single cooperative thread.
Definition: Cothread.h:24
Implementation details (including architecture/platform specific code) for the library.
Definition: Common.h:11
std::function< void(libcommunism::Cothread *)> gReturnHandler
Definition: Cothread.cpp:72