30 #ifndef SC_SIMCONTEXT_INT_H
31 #define SC_SIMCONTEXT_INT_H
46 # define DEBUG_NAME ""
47 # define DEBUG_MSG(NAME,P,MSG) \
49 if ( P && ( (strlen(NAME)==0) || !strcmp(NAME,P->name())) ) \
50 std::cout << "**** " << sc_time_stamp() << " (" \
51 << sc_get_current_process_name() << "): " << MSG \
52 << " - " << P->name() << std::endl; \
55 # define DEBUG_MSG(NAME,P,MSG)
59 #ifndef _SYSC_PRINT_VERBOSE_MESSAGE_ENV_VAR
60 #define _SYSC_PRINT_VERBOSE_MESSAGE_ENV_VAR "SYSC_PRINT_VERBOSE_MESSAGE"
79 result = active_p->
name();
81 result =
"** NONE **";
259 sc_simcontext::pop_runnable_method()
262 if( method_h == 0 ) {
272 sc_simcontext::pop_runnable_thread()
275 if( thread_h == 0 ) {
298 std::vector<sc_thread_handle>&
301 return m_active_invokers;
void push_back_thread(sc_thread_handle)
sc_thread_handle pop_thread()
void push_back_method(sc_method_handle)
void execute_method_next(sc_method_handle)
const char * name() const
class sc_method_process * sc_method_handle
sc_process_b * get_curr_proc() const
User initiated dynamic process support.
void remove_method(sc_method_handle)
void sc_defunct_process_function(sc_module *)
void push_front_thread(sc_thread_handle)
static sc_process_b * m_last_created_process_p
void push_front_method(sc_method_handle)
class sc_thread_process * sc_thread_handle
sc_method_handle pop_method()
void remove_thread(sc_thread_handle)
Base class for all structural entities.
void execute_thread_next(sc_thread_handle)
sc_simcontext * sc_get_curr_simcontext()
void set_curr_proc(sc_process_b *)
This function is not supported by the out-of-order simulation in the current release.
const char * sc_get_current_process_name()
std::vector< sc_thread_handle > & get_active_invokers()