ACE_Schedule_All_Threaded_Strategy(3)

ACE_Schedule_All_Threaded_Strategy3

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

Usage

#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_;
};

Overview

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);

Constructor

Scheduling methods

virtual int suspend (void);

Suspend hook.

virtual int resume (void);

Resume hook.

virtual void dump (void) const;

Dump the state of the object.

Library

ace

Author

Doug Schmidt

From libace-doc 5.0.7-4 in Debian 2.2 (Potato). Parsed by carta from the page's man source.