Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes

thread_pool_base Class Reference

Inheritance diagram for thread_pool_base:
Inheritance graph
[legend]
Collaboration diagram for thread_pool_base:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual void queue (sync_task *r, sc_core::sc_process_b *current=NULL)=0
int get_nb_threads () const

Static Public Member Functions

static void process_tasks (thread_pool_base *p, sc_core::sc_process_b *sc_process)

Protected Types

typedef boost::thread * thread_ptr

Protected Member Functions

void terminate_simulation ()
virtual void stop_all_threads ()
thread_ptr add_thread (sc_core::sc_process_b *sc_process=NULL)

Protected Attributes

std::vector< thread_ptr > m_thread_array

Static Protected Attributes

static atomic_variable< int > m_index

Detailed Description

Definition at line 24 of file thread-pool-base.h.


The documentation for this class was generated from the following files:
 All Classes Files Functions Defines