|
Accessors |
TAO_ORB_Core & | orb_core (void) const |
Helpers |
RTCORBA::ThreadpoolId | create_threadpool_i (CORBA::ULong stacksize, CORBA::ULong static_threads, CORBA::ULong dynamic_threads, RTCORBA::Priority default_priority, CORBA::Boolean allow_request_buffering, CORBA::ULong max_buffered_requests, CORBA::ULong max_request_buffer_size, ACE_Time_Value const &dynamic_thread_idle_timeout ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
RTCORBA::ThreadpoolId | create_threadpool_with_lanes_i (CORBA::ULong stacksize, 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_Time_Value const &dynamic_thread_idle_timeout ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
RTCORBA::ThreadpoolId | create_threadpool_helper (TAO_Thread_Pool *thread_pool ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
Public Types |
typedef ACE_Hash_Map_Manager<
RTCORBA::ThreadpoolId, TAO_Thread_Pool *,
ACE_Null_Mutex > | THREAD_POOLS |
| Collection of thread pools.
|
Public Member Functions |
| TAO_Thread_Pool_Manager (TAO_ORB_Core &orb_core) |
| Constructor.
|
| ~TAO_Thread_Pool_Manager (void) |
| Destructor.
|
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?
|
RTCORBA::ThreadpoolId | create_threadpool (CORBA::ULong stacksize, CORBA::ULong static_threads, CORBA::ULong dynamic_threads, RTCORBA::Priority default_priority, CORBA::Boolean allow_request_buffering, CORBA::ULong max_buffered_requests, CORBA::ULong max_request_buffer_size, ACE_Time_Value const &dynamic_thread_idle_timeout ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
| Create a threadpool without lanes.
|
RTCORBA::ThreadpoolId | create_threadpool_with_lanes (CORBA::ULong stacksize, 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_Time_Value const &dynamic_thread_idle_timeout ACE_ENV_ARG_DECL) throw (CORBA::SystemException) |
| Create a threadpool with lanes.
|
void | destroy_threadpool (RTCORBA::ThreadpoolId threadpool ACE_ENV_ARG_DECL) throw (CORBA::SystemException, RTCORBA::RTORB::InvalidThreadpool) |
| Destroy a threadpool.
|
TAO_Thread_Pool * | get_threadpool (RTCORBA::ThreadpoolId thread_pool_id ACE_ENV_ARG_DECL) |
Private Attributes |
TAO_ORB_Core & | orb_core_ |
THREAD_POOLS | thread_pools_ |
RTCORBA::ThreadpoolId | thread_pool_id_counter_ |
ACE_SYNCH_MUTEX | lock_ |