DOKK / manpages / debian 10 / libcommoncpp2-doc / ost_Runable.3.en
ost::Runable(3) Library Functions Manual ost::Runable(3)

ost::Runable - A container for objects that can be queued against a runlist.

#include <misc.h>


bool starting (Runlist *list)
Start the object against a run list. void stoping (void)
Stop the object, called when stopping or ready completes.


Runable ()
virtual ~Runable ()
virtual void ready (void)=0
Method handler that is invoked when a wait-listed object becomes ready to run.


class Runlist

A container for objects that can be queued against a runlist.

Author:

David Sugar dyfet@ostel.com runable object with notify when ready.

Method handler that is invoked when a wait-listed object becomes ready to run.

Start the object against a run list.

Returns:

true if immediately available to run.

Parameters:

list to start under.

Stop the object, called when stopping or ready completes. May also be used for a task that has not yet started to remove it from the wait list.

Generated automatically by Doxygen for GNU CommonC++ from the source code.

Wed Oct 31 2018 GNU CommonC++