#include #include class MyThread : public Thread { public: MyThread() : Thread() { } protected: void Run(void) { cout << "I am running" << endl; } }; int main(void) { MyThread mythread; mythread.Start(); sleep(2); return 0; }