#include <Thread_Pool.h>
Collaboration diagram for TAO_Thread_Lane:
Public Methods | |
TAO_Thread_Lane (TAO_Thread_Pool &pool, CORBA::ULong id, CORBA::Short lane_priority, CORBA::ULong static_threads, CORBA::ULong dynamic_threads, CORBA::Environment &ACE_TRY_ENV) | |
Constructor. | |
~TAO_Thread_Lane (void) | |
Destructor. | |
void | open (CORBA::Environment &ACE_TRY_ENV) |
Open the lane. | |
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) |
int | create_static_threads (void) |
Create the static threads - only called once. | |
int | create_dynamic_threads (CORBA::ULong number_of_threads) |
Create <number_of_threads> of dynamic threads. Can be called multiple times. | |
TAO_Thread_Pool& | pool (void) const |
CORBA::ULong | id (void) const |
CORBA::Short | lane_priority (void) const |
CORBA::ULong | static_threads (void) const |
CORBA::ULong | dynamic_threads (void) const |
CORBA::ULong | current_threads (void) const |
void | current_threads (CORBA::ULong) |
CORBA::Short | native_priority (void) const |
TAO_Thread_Pool_Threads& | threads (void) |
TAO_Thread_Lane_Resources& | resources (void) |
Private Methods | |
void | validate_and_map_priority (CORBA::Environment &ACE_TRY_ENV) |
Validate lane's priority and map it to a native value. | |
Private Attributes | |
TAO_Thread_Pool& | pool_ |
CORBA::ULong | id_ |
CORBA::Short | lane_priority_ |
CORBA::ULong | static_threads_ |
CORBA::ULong | dynamic_threads_ |
CORBA::ULong | current_threads_ |
TAO_Thread_Pool_Threads | threads_ |
TAO_RT_New_Leader_Generator | new_thread_generator_ |
TAO_Thread_Lane_Resources | resources_ |
CORBA::Short | native_priority_ |
|
Constructor.
|
|
Destructor.
|
|
Create <number_of_threads> of dynamic threads. Can be called multiple times.
|
|
Create the static threads - only called once.
|
|
|
|
|
|
|
|
Finalize the resources.
|
|
|
|
|
|
|
|
|
|
Open the lane.
|
|
|
|
|
|
Shutdown the reactor.
|
|
|
|
|
|
Validate lane's priority and map it to a native value.
|
|
Wait for threads to exit.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|