/******************************************************************
 * reaper.h
 * Well, uC++ does not have one internally yet & I need a clean
 * way to kill evaluators when they've performed there FUTURE alert
 * functions...
 ******************************************************************/
#ifndef __REAPER
#define __REAPER

/******************************************************************
 * PROTO DEFS
 ******************************************************************/
struct TASK_NODE;

/******************************************************************
 * TASKS:
 ******************************************************************/
uTask REAPER
{
    TASK_NODE *m_killlist;

    void main();
public:
    REAPER();
    ~REAPER();

    void requestKill(uBaseTask *task);
};

/******************************************************************
 * GLOBAL VARIABLES
 ******************************************************************/
extern REAPER glbReaper;

#endif
