#include <iostream>
#ifdef CCXX_NAMESPACES
using namespace std;
#endif
class ThreadTest :
public Thread
{
public:
void Test() { exit(); }
private:
void run() { cout << "Run()..." << endl;};
};
int main()
{
ThreadTest *thread = new ThreadTest;
thread->Test();
return 0;
}
Every thread of execution in an application is created by instantiating an object of a class derived ...
Definition thread.h:1094
Synchronization and threading services.