32 #if !defined(_WIN32) && !defined(WIN32) && !defined(WIN64) && !defined(SC_USE_PTHREADS)
35 #include "sysc/qt/qt.h"
112 static int instance_count;
virtual void yield(sc_cor *next_cor)
Coroutine package abstract base class.
Coroutine abstract base class.
virtual sc_cor * create(std::size_t stack_size, sc_cor_fn *fn, void *arg)
void( sc_cor_fn)(void *)
Function type for creating coroutines.
virtual sc_cor * get_main()
virtual void abort(sc_cor *next_cor)
virtual void stack_protect(bool enable)
sc_cor_pkg_qt sc_cor_pkg_t