ccoroutine.h Source File¶
|
API
|
ccoroutine.h
22#if !defined(USE_WIN32_FIBERS) && !defined(USE_POSIX_COROUTINES) && !defined(USE_PORTABLE_COROUTINES)
static void init(unsigned totalStack, unsigned mainStack)
cCoroutine()
virtual unsigned getStackSize() const
virtual ~cCoroutine()
bool setup(CoroutineFnp fnp, void *arg, unsigned stackSize)
static void switchToMain()
virtual unsigned getStackUsage() const
static void switchTo(cCoroutine *cor)
virtual bool hasStackOverflow() const
void(* CoroutineFnp)(void *)
Prototype for functions that can be used with cCoroutine objects as coroutine bodies.
Definition ccoroutine.h:42
Generated on for API by