int cdecl thread()
{
<Perform lengthy processing task>
DosExit(EXIT_THREAD, /* Terminate thread */
0L); /* Return code */
}
This example shows the routine executing in the secondary thread.