00001 #ifndef _RUNNABLE_H_ 00002 #define _RUNNABLE_H_ 00003 00004 /* 00005 * Abstract interface for threads to run code. Specifies 00006 * entry point method for a new thread. Used with the 00007 * Thread class. 00008 */ 00009 class Runnable { 00010 public: 00011 virtual void run() = 0; 00012 virtual ~Runnable() {}; 00013 }; 00014 00015 #endif // _RUNNABLE_H_
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001