//------------------------------------------------------------------------ // Filename: // alarmclock-Thrd.h // PROGRAM DESCRIPTION // Definition file for DriverThread and SleeperThread classes //------------------------------------------------------------------------ #ifndef _ALARMCLOCK_Thrd_H #define _ALARMCLOCK_Thrd_H #include "ThreadClass.h" //------------------------------------------------------------------------ // DriverThread class definition //------------------------------------------------------------------------ class DriverThread: public Thread { public: DriverThread(); // constructor private: void ThreadFunc(); int iteration; }; //------------------------------------------------------------------------ // DriverThread class definition //------------------------------------------------------------------------ class SleeperThread: public Thread { public: SleeperThread(int No, int Iteration); // constructor private: void ThreadFunc(); int number; int iteration; }; #endif