NAME

ACE_Schedule_All_Threaded_Strategy - Defines the interface for specifying how to suspend and resume a multithreaded service .

SYNOPSIS

#include <ace/ACE_Strategies_T.h>

template<class SVC_HANDLER> class ACE_Schedule_All_Threaded_Strategy : public ACE_Scheduling_Strategy<SVC_HANDLER> { public: ACE_Schedule_All_Threaded_Strategy (SVC_HANDLER * = 0); virtual int suspend (void); virtual int resume (void); virtual void dump (void) const; protected: ACE_Thread_Manager *thr_mgr_; };

DESCRIPTION

This class provides a strategy that suspends and resumes all the Event_Handlers controlled by a Thread_Manager in one fell swoop.

Initialization and termination methods.

ACE_Schedule_All_Threaded_Strategy (SVC_HANDLER * = 0);

Scheduling methods

virtual int suspend (void);

virtual int resume (void);

virtual void dump (void) const;

AUTHOR

Doug Schmidt

LIBRARY

ace