|
Accessors |
TAO_Thread_Pool_Manager & | manager (void) const |
CORBA::ULong | id (void) const |
CORBA::ULong | stack_size (void) const |
CORBA::Boolean | allow_borrowing (void) const |
CORBA::Boolean | allow_request_buffering (void) const |
CORBA::ULong | max_buffered_requests (void) const |
CORBA::ULong | max_request_buffer_size (void) const |
TAO_Thread_Lane ** | lanes (void) |
CORBA::ULong | number_of_lanes (void) const |
Public Member Functions |
| TAO_Thread_Pool (TAO_Thread_Pool_Manager &manager, CORBA::ULong id, CORBA::ULong stack_size, CORBA::ULong static_threads, CORBA::ULong dynamic_threads, CORBA::Short default_priority, CORBA::Boolean allow_request_buffering, CORBA::ULong max_buffered_requests, CORBA::ULong max_request_buffer_size ACE_ENV_ARG_DECL) |
| Constructor (for pools without lanes).
|
| TAO_Thread_Pool (TAO_Thread_Pool_Manager &manager, CORBA::ULong id, CORBA::ULong stack_size, const RTCORBA::ThreadpoolLanes &lanes, CORBA::Boolean allow_borrowing, CORBA::Boolean allow_request_buffering, CORBA::ULong max_buffered_requests, CORBA::ULong max_request_buffer_size ACE_ENV_ARG_DECL) |
| Constructor (for pools with lanes).
|
| ~TAO_Thread_Pool (void) |
| Destructor.
|
void | open (ACE_ENV_SINGLE_ARG_DECL) |
| Open the pool.
|
void | finalize (void) |
| Finalize the resources.
|
void | shutdown_reactor (void) |
| Shutdown the reactor.
|
void | wait (void) |
| Wait for threads to exit.
|
int | is_collocated (const TAO_MProfile &mprofile) |
| Does mprofile belong to us?
|
int | create_static_threads (void) |
| Create the static threads - only called once.
|
int | with_lanes (void) const |
| Check if this thread pool has (explicit) lanes.
|
Private Attributes |
TAO_Thread_Pool_Manager & | manager_ |
CORBA::ULong | id_ |
CORBA::ULong | stack_size_ |
CORBA::Boolean | allow_borrowing_ |
CORBA::Boolean | allow_request_buffering_ |
CORBA::ULong | max_buffered_requests_ |
CORBA::ULong | max_request_buffer_size_ |
TAO_Thread_Lane ** | lanes_ |
CORBA::ULong | number_of_lanes_ |
int | with_lanes_ |
Friends |
class | TAO_Thread_Lane |