I have created a thread using _beginthread(), as shown below:
the standard way of closing threads created like this is via _endthread()Code:unsigned long m_thread; m_thread = _beginthread(control, 0, 0);
the only problem is i want to close this thread from another thread, so i cannot us that function as it ends the thread that its called from.
How can i do such ?




Reply With Quote