ACE
6.1.8
|
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 |
![]() | |
typedef SVC_HANDLER::addr_type | addr_type |
typedef SVC_HANDLER | handler_type |
typedef SVC_HANDLER::stream_type | stream_type |
Public Member Functions | |
ACE_Schedule_All_Threaded_Strategy (SVC_HANDLER *=0) | |
Constructor. More... | |
virtual int | suspend (void) |
Suspend hook. More... | |
virtual int | resume (void) |
Resume hook. More... | |
virtual void | dump (void) const |
Dump the state of the object. More... | |
![]() | |
ACE_Scheduling_Strategy (SVC_HANDLER *=0) | |
Constructor. More... | |
virtual | ~ACE_Scheduling_Strategy (void) |
Destructor. More... | |
Protected Attributes | |
ACE_Thread_Manager * | thr_mgr_ |
Thread Manager. More... | |
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 |
|
inline |
Constructor.
|
virtual |
Dump the state of the object.
Reimplemented from ACE_Scheduling_Strategy< SVC_HANDLER >.
|
virtual |
Resume hook.
Reimplemented from ACE_Scheduling_Strategy< SVC_HANDLER >.
|
virtual |
Suspend hook.
Reimplemented from ACE_Scheduling_Strategy< SVC_HANDLER >.
|
protected |
Thread Manager.