2 //=============================================================================
6 * A periodic task implementation that uses sleep.
8 * @author Pradeep Gore <pradeep@cs.wustl.edu>
10 //=============================================================================
14 #include "Periodic_Task.h"
19 * @brief A periodic task implementation that uses sleep.
21 * simplified Periodic Task -
22 * if the <name_> activity, which is fired every <period_> time intervals,
23 * exceeds its <exec_time_>, it is "late".
24 * if <exec_time_> is greater than the <period_>, the activity(s) for the
25 * overlapped period(s) are considered "missed".
27 class Thread_Task
: public Periodic_Task
33 /// Activate thread(s).
34 virtual int activate_task (ACE_Barrier
* barrier
, RTCORBA::PriorityMapping
*priority_mapping
);
39 virtual int svc (void);
42 #endif /* THREAD_TASK_H */