Programmers Reference - CListThread (2)
class CThreadList::AddThread()
public: void AddThread(const CThread &thread, int nPriority = THREAD_PRIORITY_NORMAL, UINT nStackSize = 0);
Parameters
thread : The thread to start.
nPriority : The priority aof the starting thread.
nStackSize : The stack size of the thread. The default
is the same as the starting thread.
The CThread is added to the list of threads. Then a separate thread is created. This thread call the Run. When the Function returns, or the thread terminates the CThread is removed from the list and deleted.
Class:
Last Modified 10 January 2019