14#ifndef SIMICS_SYSTEMC_PROCESS_STACK_HANDLER_H
15#define SIMICS_SYSTEMC_PROCESS_STACK_HANDLER_H
34 if (sc_core::sc_get_status() == sc_core::SC_RUNNING) {
35 sc_core::sc_curr_proc_kind kind =
36 sc_core::sc_get_current_process_handle().proc_kind();
37 if (kind == sc_core::SC_THREAD_PROC_
38 || kind == sc_core::SC_CTHREAD_PROC_) {
Definition: internal_interface.h:23
virtual ProcessStackInterface * process_stack()=0
Definition: process_stack_handler.h:26
virtual ~ProcessStackHandler()
Definition: process_stack_handler.h:46
ProcessStackHandler(InternalInterface *internal)
Definition: process_stack_handler.h:28
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:25