![]() |
Stop() |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Public Function |
Declared in: Win32Thread.h |
virtual BOOL Stop();
Terminate the thread
//Only if suspened or running if ((GetThreadStatus()==tsRunning || GetThreadStatus()==tsSuspended) && m_hThread) if (CloseHandle(m_hThread)) { //Stopped SetThreadStatus(tsStopped); return TRUE; } else return FALSE; else return FALSE;
![]() |
Site content copyright © 2001 Barak Weichselbaum. See the About page for additional notices. This page last updated: 27 Jun 2001. |