SystemC  2.3.2
Accellera SystemC proof-of-concept library
sc_core::sc_cor_pkg_qt Class Reference

Coroutine package class implemented with QuickThreads. More...

#include <sysc/kernel/sc_cor_qt.h>

Inheritance diagram for sc_core::sc_cor_pkg_qt:
Collaboration diagram for sc_core::sc_cor_pkg_qt:

Public Member Functions

 sc_cor_pkg_qt (sc_simcontext *simc)
 
virtual ~sc_cor_pkg_qt ()
 
virtual sc_corcreate (std::size_t stack_size, sc_cor_fn *fn, void *arg)
 
virtual void yield (sc_cor *next_cor)
 
virtual void abort (sc_cor *next_cor)
 
virtual sc_corget_main ()
 
sc_simcontextsimcontext ()
 

Detailed Description

Coroutine package class implemented with QuickThreads.

Definition at line 93 of file sc_cor_qt.h.

Constructor & Destructor Documentation

◆ sc_cor_pkg_qt()

sc_core::sc_cor_pkg_qt::sc_cor_pkg_qt ( sc_simcontext simc)

◆ ~sc_cor_pkg_qt()

virtual sc_core::sc_cor_pkg_qt::~sc_cor_pkg_qt ( )
virtual

Member Function Documentation

◆ abort()

virtual void sc_core::sc_cor_pkg_qt::abort ( sc_cor next_cor)
virtual

Implements sc_core::sc_cor_pkg.

◆ create()

virtual sc_cor* sc_core::sc_cor_pkg_qt::create ( std::size_t  stack_size,
sc_cor_fn fn,
void *  arg 
)
virtual

Implements sc_core::sc_cor_pkg.

◆ get_main()

virtual sc_cor* sc_core::sc_cor_pkg_qt::get_main ( )
virtual

Implements sc_core::sc_cor_pkg.

◆ simcontext()

sc_simcontext* sc_core::sc_cor_pkg::simcontext ( )
inlineinherited

Definition at line 115 of file sc_cor.h.

◆ yield()

virtual void sc_core::sc_cor_pkg_qt::yield ( sc_cor next_cor)
virtual

Implements sc_core::sc_cor_pkg.


The documentation for this class was generated from the following file: