cout << "Creation failed, test failure.\n";
return false;
}
- cout << "Creation success!\n";
+ cout << "Creation success, type " << te->GetName() << "\n";
- cout << "Creating new thread of type TestSuiteThread...\n";
+ cout << "Allocate: new TestSuiteThread...\n";
TestSuiteThread* tst = new TestSuiteThread();
- cout << "Create new thread based on TestSuiteThread...\n";
+ cout << "ThreadEngine::Create on TestSuiteThread...\n";
te->Create(tst);
- cout << "Press any key to end test.\n";
- getchar();
+ cout << "Type any line and press enter to end test.\n";
+ cin >> anything;
/* Thread engine auto frees thread on delete */
- cout << "Waiting for thread to exit...";
+ cout << "Waiting for thread to exit... " << flush;
delete tst;
cout << "Done!\n";