home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / C / Snippets / Threads Interface / thread stresser source / CTestThread.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-04-03  |  354 b   |  21 lines  |  [TEXT/KAHL]

  1. /***
  2.  * CTestThread.h
  3.  *
  4.  *  Implement some random tests for this puppy...
  5.  *        Copyright © Gordon Watts 1994 (gwatts@fnal.fnal.gov)
  6.  *
  7.  ***/
  8.  
  9. #include "CCooperativeThread.h"
  10.  
  11. class CTestThread : public CCooperativeThread {
  12. protected:
  13.     Boolean            quitNow;
  14.  
  15.     void            DoTest (short testNum);
  16.  
  17. public:
  18.                     CTestThread (void);
  19.  
  20.     void            ThreadRoutine (void);
  21. };