1
2
3
4
5
6 #ifndef SOULNG_UTIL_FIBER_INCLUDED
7 #define SOULNG_UTIL_FIBER_INCLUDED
8 #include <soulng/util/UtilApi.hpp>
9 #include <stdint.h>
10
11 namespace soulng { namespace util {
12
13 void* ConvertThreadToFiber(void* param);
14 void* CreateFiber(uint64_t stackSize, void* startAddress, void* param);
15 void SwitchToFiber(void* fiber);
16 void* GetFiberData();
17 void DeleteFiber(void* fiber);
18
19 } }
20
21 #endif // SOULNG_UTIL_FIBER_INCLUDED