ACE
6.1.0
|
Defines the interface for specifying how to suspend and resume a multithreaded service . More...
#include <Strategies_T.h>
Public Types | |
typedef ACE_Scheduling_Strategy < SVC_HANDLER > | base_type |
Public Member Functions | |
ACE_Schedule_All_Threaded_Strategy (SVC_HANDLER *=0) | |
Constructor. | |
virtual int | suspend (void) |
Suspend hook. | |
virtual int | resume (void) |
Resume hook. | |
virtual void | dump (void) const |
Dump the state of the object. | |
Protected Attributes | |
ACE_Thread_Manager * | thr_mgr_ |
Thread Manager. |
Defines the interface for specifying how to suspend and resume a multithreaded service .
This class provides a strategy that suspends and resumes all the Event_Handlers controlled by a Thread_Manager in one fell swoop.
typedef ACE_Scheduling_Strategy<SVC_HANDLER> ACE_Schedule_All_Threaded_Strategy< SVC_HANDLER >::base_type |
ACE_Schedule_All_Threaded_Strategy< SVC_HANDLER >::ACE_Schedule_All_Threaded_Strategy | ( | SVC_HANDLER * | scheduler = 0 | ) | [inline] |
Constructor.
void ACE_Schedule_All_Threaded_Strategy< SVC_HANDLER >::dump | ( | void | ) | const [virtual] |
Dump the state of the object.
Reimplemented from ACE_Scheduling_Strategy< SVC_HANDLER >.
int ACE_Schedule_All_Threaded_Strategy< SVC_HANDLER >::resume | ( | void | ) | [virtual] |
Resume hook.
Reimplemented from ACE_Scheduling_Strategy< SVC_HANDLER >.
int ACE_Schedule_All_Threaded_Strategy< SVC_HANDLER >::suspend | ( | void | ) | [virtual] |
Suspend hook.
Reimplemented from ACE_Scheduling_Strategy< SVC_HANDLER >.
ACE_Thread_Manager* ACE_Schedule_All_Threaded_Strategy< SVC_HANDLER >::thr_mgr_ [protected] |
Thread Manager.