38 #if !defined(_WIN32) && !defined(WIN32) && !defined(WIN64) && !defined(SC_USE_PTHREADS) 41 #include "sysc/packages/qt/qt.h" 105 virtual sc_cor* create( std::size_t stack_size,
sc_cor_fn* fn,
void* arg );
108 virtual void yield(
sc_cor* next_cor );
111 virtual void abort(
sc_cor* next_cor );
114 virtual sc_cor* get_main();
118 static int instance_count;
Coroutine abstract base classes.
virtual void stack_protect(bool enable)
Coroutine package class implemented with QuickThreads.
Coroutine abstract base class.
sc_cor_pkg_qt sc_cor_pkg_t
Coroutine class implemented with QuickThreads.
Coroutine package abstract base class.
void() sc_cor_fn(void *)
Function type for creating coroutines.