/*
TThread, Priority, Resume example
This example shows how to create a thread and start it running at a lower priority than the main execution thread. It assumes that the thread’s FreeOnTerminate property is True, so that there is no need to free the thread when it finishes.
*/
TMyThread *SecondProcess = new TMyThread(true); // create but don’t run
SecondProcess->Priority = tpLower; // set the priority lower than normal
SecondProcess->Resume(); // now start the thread running
 
