Class for creating dynamic threads. More...
#include <Thread_Pool.h>
Public Member Functions | |
TAO_RT_New_Leader_Generator (TAO_Thread_Lane &lane) | |
Constructor. | |
void | no_leaders_available (void) |
Private Attributes | |
TAO_Thread_Lane & | lane_ |
Lane associated with this leader generator. |
Class for creating dynamic threads.
Definition at line 46 of file Thread_Pool.h.
TAO_RT_New_Leader_Generator::TAO_RT_New_Leader_Generator | ( | TAO_Thread_Lane & | lane | ) |
void TAO_RT_New_Leader_Generator::no_leaders_available | ( | void | ) | [virtual] |
Leader/Follower class uses this method to notify the system that we are out of leaders.
Implements TAO_New_Leader_Generator.
Definition at line 34 of file Thread_Pool.cpp.
{ // Request a new dynamic thread from the Thread Lane this->lane_.new_dynamic_thread (); }
Lane associated with this leader generator.
Definition at line 61 of file Thread_Pool.h.