Thread/Windows

[Thread][Windows] GetExitCodeThread() 함수로 스레드가 종료되었는지 체크

Binceline 2014. 9. 30. 07:17

http://msdn.microsoft.com/ko-kr/library/windows/desktop/ms683190(v=vs.85).aspx



BOOL WINAPI GetExitCodeThread(
  _In_   HANDLE hThread,
  _Out_  LPDWORD lpExitCode 

);


This function returns immediately. If the specified thread has not terminated and the function succeeds, the status returned is STILL_ACTIVE. If the thread has terminated and the function succeeds, the status returned is one of the following values:



반응형