Searched refs:sc_thread_handle (Results 1 - 23 of 23) sorted by relevance

/gem5/ext/systemc/src/sysc/kernel/
H A Dsc_runnable.h56 inline void remove_thread( sc_thread_handle );
59 inline void execute_thread_next( sc_thread_handle );
62 inline void push_back_thread( sc_thread_handle );
64 inline void push_front_thread( sc_thread_handle );
70 inline sc_thread_handle pop_thread();
79 sc_thread_handle m_threads_push_head;
80 sc_thread_handle m_threads_push_tail;
81 sc_thread_handle m_threads_pop;
H A Dsc_join.cpp63 sc_thread_handle handle = DCAST<sc_thread_handle>(process_p);
80 sc_thread_handle thread_p; // Thread within process_h.
82 thread_p = process_h.operator sc_thread_handle();
105 void sc_join::signal(sc_thread_handle thread_p, int type)
H A Dsc_simcontext_int.h112 sc_simcontext::execute_thread_next( sc_thread_handle thread_h )
134 sc_simcontext::preempt_with( sc_thread_handle thread_h )
136 sc_thread_handle active_p; // active thread or null.
143 active_p = DCAST<sc_thread_handle>(sc_get_current_process_b());
160 std::vector<sc_thread_handle>* invokers_p; // active invokers stack.
161 sc_thread_handle invoke_thread_p; // latest invocation thread.
230 sc_simcontext::push_runnable_thread( sc_thread_handle thread_h )
237 sc_simcontext::push_runnable_thread_front( sc_thread_handle thread_h )
257 sc_thread_handle
260 sc_thread_handle thread_
[all...]
H A Dsc_thread_process.h70 void sc_set_stack_size( sc_thread_handle, std::size_t );
80 void sc_set_stack_size( sc_thread_handle thread_h, std::size_t size );
96 friend void sc_set_stack_size( sc_thread_handle, std::size_t );
133 sc_thread_handle next_exist();
134 sc_thread_handle next_runnable();
138 void set_next_exist( sc_thread_handle next_p );
139 void set_next_runnable( sc_thread_handle next_p );
414 void sc_thread_process::set_next_exist(sc_thread_handle next_p)
420 sc_thread_handle sc_thread_process::next_exist()
422 return (sc_thread_handle)m_exist_
[all...]
H A Dsc_runnable_int.h72 #define SC_NO_THREADS ((sc_thread_handle)0xdb)
85 for ( sc_thread_handle p = m_threads_pop; p != SC_NO_THREADS;
92 for ( sc_thread_handle p = m_threads_push_head->next_runnable();
120 inline void sc_runnable::execute_thread_next( sc_thread_handle thread_h )
209 inline void sc_runnable::push_back_thread( sc_thread_handle thread_h )
252 inline void sc_runnable::push_front_thread( sc_thread_handle thread_h )
299 inline sc_thread_handle sc_runnable::pop_thread()
301 sc_thread_handle result_p;
383 inline void sc_runnable::remove_thread( sc_thread_handle remove_p )
385 sc_thread_handle now_
[all...]
H A Dsc_process.cpp65 sc_thread_handle thread_h; // This process as a thread.
84 thread_h = SCAST<sc_thread_handle>( this );
107 sc_thread_handle thread_h; // This process as a thread.
119 thread_h = SCAST<sc_thread_handle>(this);
257 sc_thread_handle thread_h; // This process as a thread.
264 thread_h = SCAST<sc_thread_handle>(this);
307 sc_thread_handle thread_h; // This process as a thread.
313 thread_h = SCAST<sc_thread_handle>( this );
668 //"sc_process_handle::sc_thread_handle"
671 sc_process_handle::operator sc_thread_handle()
[all...]
H A Dsc_wait.cpp81 RCAST<sc_thread_handle>( cpi->process_handle )->wait( e );
105 RCAST<sc_thread_handle>( cpi->process_handle )->wait( el );
131 RCAST<sc_thread_handle>( cpi->process_handle )->wait( el );
155 RCAST<sc_thread_handle>( cpi->process_handle )->wait( t );
179 RCAST<sc_thread_handle>( cpi->process_handle )->wait( t, e );
203 RCAST<sc_thread_handle>( cpi->process_handle )->wait( t, el );
227 RCAST<sc_thread_handle>( cpi->process_handle )->wait( t, el );
H A Dsc_simcontext.cpp118 void push_front( sc_thread_handle );
121 sc_thread_handle thread_q_head();
122 sc_thread_handle remove( sc_thread_handle );
128 sc_thread_handle m_thread_q; // Queue of existing thread processes.
170 sc_thread_handle thread_next_p; // Next thread to delete.
171 sc_thread_handle thread_now_p; // Thread now deleting.
198 sc_process_table::push_front( sc_thread_handle handle_ )
225 sc_thread_handle
226 sc_process_table::remove( sc_thread_handle handle
[all...]
H A Dsc_event.cpp378 sc_thread_handle* l_threads_static = &m_threads_static[0];
381 sc_thread_handle thread_h = l_threads_static[i];
391 sc_thread_handle* l_threads_dynamic = &m_threads_dynamic[0];
394 sc_thread_handle thread_h = l_threads_dynamic[i];
429 sc_event::remove_static( sc_thread_handle thread_h_ ) const
433 sc_thread_handle* l_threads_static = &m_threads_static[0];
463 sc_event::remove_dynamic( sc_thread_handle thread_h_ ) const
467 sc_thread_handle* l_threads_dynamic = &m_threads_dynamic[0];
574 sc_event_list::add_dynamic( sc_thread_handle thread_h ) const
601 sc_event_list::remove_dynamic( sc_thread_handle thread_
[all...]
H A Dsc_event.h153 void add_dynamic( sc_thread_handle ) const;
155 void remove_dynamic( sc_thread_handle, const sc_event* ) const;
289 void add_static( sc_thread_handle ) const;
291 void add_dynamic( sc_thread_handle ) const;
297 bool remove_static( sc_thread_handle ) const;
299 bool remove_dynamic( sc_thread_handle ) const;
319 mutable std::vector<sc_thread_handle> m_threads_static;
320 mutable std::vector<sc_thread_handle> m_threads_dynamic;
443 sc_event::add_static( sc_thread_handle thread_h ) const
457 sc_event::add_dynamic( sc_thread_handle thread_
[all...]
H A Dsc_simcontext.h186 std::vector<sc_thread_handle>& get_active_invokers();
284 void execute_thread_next( sc_thread_handle );
287 sc_thread_handle pop_runnable_thread();
290 inline void preempt_with( sc_thread_handle );
293 void push_runnable_thread( sc_thread_handle );
296 void push_runnable_thread_front( sc_thread_handle );
299 void remove_runnable_thread( sc_thread_handle );
331 std::vector<sc_thread_handle> m_active_invokers;
H A Dsc_join.h60 virtual void signal(sc_thread_handle thread_p, int type);
130 // Andy Goodrich: fixed loop constraint that was using sizeof(sc_thread_handle)
H A Dsc_sensitive.cpp54 sc_thread_handle
57 return DCAST<sc_thread_handle>( handle_ );
211 sc_thread_handle handle_t = as_thread_handle( handle_ );
256 sc_thread_handle handle_t = as_thread_handle( handle_ );
416 sc_sensitive_pos::operator << ( sc_thread_handle handle_ )
691 sc_sensitive_neg::operator << ( sc_thread_handle handle_ )
H A Dsc_process.h60 typedef class sc_thread_process* sc_thread_handle; typedef in namespace:sc_core
112 virtual void signal(sc_thread_handle thread_p, int type);
114 inline void sc_process_monitor::signal(sc_thread_handle , int ) {}
200 extern void sc_set_stack_size( sc_thread_handle, std::size_t );
H A Dsc_sensitive.h89 sc_sensitive& operator << ( sc_thread_handle );
166 sc_sensitive_pos& operator << ( sc_thread_handle );
232 sc_sensitive_neg& operator << ( sc_thread_handle );
H A Dsc_thread_process.cpp109 sc_thread_handle thread_h = RCAST<sc_thread_handle>( arg );
869 sc_set_stack_size( sc_thread_handle thread_h, std::size_t size )
H A Dsc_module.cpp449 sc_thread_handle thread_h; // Current process as thread.
452 thread_h = (sc_thread_handle)proc_h;
H A Dsc_process_handle.h136 operator sc_thread_handle ();
/gem5/src/systemc/ext/core/
H A Dsc_join.hh40 typedef sc_process_b *sc_thread_handle; typedef in namespace:sc_core
H A D_using.hh54 using sc_core::sc_thread_handle;
/gem5/src/systemc/tests/systemc/kernel/dynamic_processes/sc_barrier/test01/
H A Dtest01.cpp9 sc_thread_handle last_thread;
/gem5/ext/systemc/src/sysc/communication/
H A Dsc_port.h140 virtual void make_sensitive( sc_thread_handle, sc_event_finder* = 0 ) const;
145 sc_thread_handle process_p, const sc_event& event) const;
342 virtual void make_sensitive( sc_thread_handle, sc_event_finder* = 0 ) const;
581 sc_port_b<IF>::make_sensitive( sc_thread_handle handle_p,
H A Dsc_port.cpp207 sc_thread_handle process_p, const sc_event& event ) const
377 sc_port_base::make_sensitive( sc_thread_handle handle_,

Completed in 47 milliseconds