#include <Thread_Pool.h>
Collaboration diagram for TAO_Thread_Lane:

Accessors | |
| 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) |
Public Methods | |
| TAO_Thread_Lane (TAO_Thread_Pool &pool, CORBA::ULong id, CORBA::Short lane_priority, CORBA::ULong static_threads, CORBA::ULong dynamic_threads ACE_ENV_ARG_DECL) | |
| Constructor. More... | |
| ~TAO_Thread_Lane (void) | |
| Destructor. More... | |
| void | open (ACE_ENV_SINGLE_ARG_DECL) |
| Open the lane. More... | |
| void | finalize (void) |
| Finalize the resources. More... | |
| void | shutdown_reactor (void) |
| Shutdown the reactor. More... | |
| void | wait (void) |
| Wait for threads to exit. More... | |
| int | is_collocated (const TAO_MProfile &mprofile) |
| int | create_static_threads (void) |
| Create the static threads - only called once. More... | |
| int | create_dynamic_threads (CORBA::ULong number_of_threads) |
| Create <number_of_threads> of dynamic threads. Can be called multiple times. More... | |
Private Methods | |
| void | validate_and_map_priority (ACE_ENV_SINGLE_ARG_DECL) |
| Validate lane's priority and map it to a native value. More... | |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001