TAO_RTCORBA 4.0.0
|
Class representing the thread pool inside a thread pool manager. More...
#include <Thread_Pool.h>
Accessors | |
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_ |
ACE_Time_Value const | dynamic_thread_time_ |
TAO_Thread_Lane ** | lanes_ |
CORBA::ULong | number_of_lanes_ |
bool | with_lanes_ |
TAO_Thread_Pool_Manager & | manager () const |
CORBA::ULong | id () const |
CORBA::ULong | stack_size () const |
CORBA::Boolean | allow_borrowing () const |
CORBA::Boolean | allow_request_buffering () const |
CORBA::ULong | max_buffered_requests () const |
CORBA::ULong | max_request_buffer_size () const |
TAO_Thread_Lane ** | lanes () |
CORBA::ULong | number_of_lanes () const |
Class representing the thread pool inside a thread pool manager.
TAO_Thread_Pool::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, | ||
TAO_RT_ORBInitializer::TAO_RTCORBA_DT_LifeSpan | lifespan, | ||
ACE_Time_Value const & | dynamic_thread_time ) |
Constructor (for pools without lanes).
TAO_Thread_Pool::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, | ||
TAO_RT_ORBInitializer::TAO_RTCORBA_DT_LifeSpan | lifespan, | ||
ACE_Time_Value const & | dynamic_thread_time ) |
Constructor (for pools with lanes).
TAO_Thread_Pool::~TAO_Thread_Pool | ( | ) |
Destructor.
|
inline |
|
inline |
int TAO_Thread_Pool::create_static_threads | ( | ) |
Create the static threads - only called once.
void TAO_Thread_Pool::finalize | ( | ) |
Finalize the resources.
|
inline |
int TAO_Thread_Pool::is_collocated | ( | const TAO_MProfile & | mprofile | ) |
Does mprofile belong to us?
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void TAO_Thread_Pool::open | ( | ) |
Open the pool.
void TAO_Thread_Pool::shutdown_reactor | ( | ) |
Shutdown the reactor.
void TAO_Thread_Pool::shutting_down | ( | ) |
Mark this thread pool that we are shutting down.
|
inline |
void TAO_Thread_Pool::wait | ( | ) |
Wait for threads to exit.
|
inline |
Check if this thread pool has (explicit) lanes.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |