16#ifndef SIMICS_SYSTEMC_PROCESS_STACK_HANDLER_H
17#define SIMICS_SYSTEMC_PROCESS_STACK_HANDLER_H
36 if (sc_core::sc_get_status() == sc_core::SC_RUNNING) {
37 sc_core::sc_curr_proc_kind kind =
38 sc_core::sc_get_current_process_handle().proc_kind();
39 if (kind == sc_core::SC_THREAD_PROC_
40 || kind == sc_core::SC_CTHREAD_PROC_) {
Definition: internal_interface.h:25
virtual ProcessStackInterface * process_stack()=0
Definition: process_stack_handler.h:28
virtual ~ProcessStackHandler()
Definition: process_stack_handler.h:48
ProcessStackHandler(InternalInterface *internal)
Definition: process_stack_handler.h:30
ProcessStackHandler & operator=(const ProcessStackHandler &)=delete
ProcessStackHandler(const ProcessStackHandler &)=delete
The process stack helps maintain a LIFO order of function calls that cross the SystemC/Simics border,...
Definition: process_stack_interface.h:27