Lines Matching refs:thread_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->set_next_runnable(SC_NO_THREADS);
214 m_threads_push_tail->set_next_runnable(thread_h);
215 m_threads_push_tail = thread_h;
250 // thread_h -> thread process to add to the queue.
252 inline void sc_runnable::push_front_thread( sc_thread_handle thread_h )
254 // assert( thread_h->next_runnable() == 0 ); // Can't queue twice.
255 DEBUG_MSG(DEBUG_NAME,thread_h,"pushing front thread");
256 thread_h->set_next_runnable(m_threads_push_head->next_runnable());
259 m_threads_push_tail->set_next_runnable(thread_h);
260 m_threads_push_tail = thread_h;
264 m_threads_push_head->set_next_runnable(thread_h);