Searched refs:thread_h (Results 1 - 9 of 9) sorted by relevance
/gem5/ext/systemc/src/sysc/kernel/ |
H A D | sc_simcontext_int.h | 112 sc_simcontext::execute_thread_next( sc_thread_handle thread_h ) 114 m_runnable->execute_thread_next( thread_h ); 130 // | thread_h -> thread to be executed. 134 sc_simcontext::preempt_with( sc_thread_handle thread_h ) 144 if ( thread_h->next_runnable() != NULL ) 145 remove_runnable_thread( thread_h ); 174 DEBUG_MSG( DEBUG_NAME, thread_h, "preempting method with thread" ); 175 set_curr_proc( (sc_process_b*)thread_h ); 176 m_cor_pkg->yield( thread_h->m_cor_p ); 178 DEBUG_MSG(DEBUG_NAME, thread_h, "bac 260 sc_thread_handle thread_h = m_runnable->pop_thread(); local [all...] |
H A D | sc_process.cpp | 65 sc_thread_handle thread_h; // This process as a thread. local 84 thread_h = SCAST<sc_thread_handle>( this ); 85 e.add_static( thread_h ); 107 sc_thread_handle thread_h; // This process as a thread. local 119 thread_h = SCAST<sc_thread_handle>(this); 120 mon_n = thread_h->m_monitor_q.size(); 125 thread_h->m_monitor_q[mon_i]->signal( thread_h, 257 sc_thread_handle thread_h; // This process as a thread. local 264 thread_h 307 sc_thread_handle thread_h; // This process as a thread. local [all...] |
H A D | sc_runnable_int.h | 118 // thread_h -> thread process to add to the queue. 120 inline void sc_runnable::execute_thread_next( sc_thread_handle thread_h ) 122 DEBUG_MSG(DEBUG_NAME,thread_h,"pushing this thread to execute next"); 123 thread_h->set_next_runnable( m_threads_pop ); 124 m_threads_pop = thread_h; 207 // thread_h -> thread process to add to the queue. 209 inline void sc_runnable::push_back_thread( sc_thread_handle thread_h ) 211 // assert( thread_h->next_runnable() == 0 ); // Can't queue twice. 212 DEBUG_MSG(DEBUG_NAME,thread_h,"pushing back thread"); 213 thread_h [all...] |
H A D | sc_thread_process.cpp | 109 sc_thread_handle thread_h = RCAST<sc_thread_handle>( arg ); local 116 thread_h->semantics(); 123 << thread_h->name() << ::std::endl; 131 thread_h->simcontext()->set_error( err_p ); 140 thread_h->disconnect_process(); 144 if ( thread_h->next_runnable() != 0 ) 146 simc_p->remove_runnable_thread(thread_h); 152 if ( active_p == (sc_process_b*)thread_h ) 869 sc_set_stack_size( sc_thread_handle thread_h, std::size_t size ) argument 871 thread_h [all...] |
H A D | sc_event.cpp | 381 sc_thread_handle thread_h = l_threads_static[i]; local 382 thread_h->trigger_static(); 394 sc_thread_handle thread_h = l_threads_dynamic[i]; local 395 if ( thread_h->trigger_dynamic( this ) ) 574 sc_event_list::add_dynamic( sc_thread_handle thread_h ) const 580 l_events[i]->add_dynamic( thread_h ); 601 sc_event_list::remove_dynamic( sc_thread_handle thread_h, argument 609 e->remove_dynamic( thread_h );
|
H A D | sc_simcontext.cpp | 533 sc_thread_handle thread_h = pop_runnable_thread(); local 534 while( thread_h != 0 ) { 535 if ( thread_h->m_cor_p != NULL ) break; 536 thread_h = pop_runnable_thread(); 539 if( thread_h != 0 ) { 541 m_cor_pkg->yield( thread_h->m_cor_p ); 1252 sc_thread_handle thread_h = pop_runnable_thread(); local 1253 while( thread_h != 0 ) { 1254 if ( thread_h->m_cor_p != NULL ) break; 1255 thread_h [all...] |
H A D | sc_event.h | 443 sc_event::add_static( sc_thread_handle thread_h ) const 445 m_threads_static.push_back( thread_h ); 457 sc_event::add_dynamic( sc_thread_handle thread_h ) const 459 m_threads_dynamic.push_back( thread_h );
|
H A D | sc_module.cpp | 449 sc_thread_handle thread_h; // Current process as thread. local 452 thread_h = (sc_thread_handle)proc_h; 453 if ( thread_h ) 455 thread_h->set_stack_size( size );
|
H A D | sc_thread_process.h | 80 void sc_set_stack_size( sc_thread_handle thread_h, std::size_t size );
|
Completed in 20 milliseconds