1
2
3
4
5
6 #ifndef CMAJOR_RT_FIBER_INCLUDED
7 #define CMAJOR_RT_FIBER_INCLUDED
8 #include <cmajor/rt/RtApi.hpp>
9 #include <stdint.h>
10
11 extern "C" void* RtConvertThreadToFiber(void* param);
12 extern "C" void* RtCreateFiber(uint64_t stackSize, void* startAddress, void* param);
13 extern "C" void RtSwitchToFiber(void* fiber);
14 extern "C" void* RtGetFiberData();
15 extern "C" void RtDeleteFiber(void* fiber);
16
17 #endif // CMAJOR_RT_FIBER_INCLUDED