使用GetExitCodeThread函数进行判断。If the specified thread has not terminated, the termination status returned is STILL_ACTIVE. The following termination statuses can be returned if the process has terminated: The exit value specified in the ExitThread or TerminateThread function The return value from the thread function The exit value of the thread's process
The return value from the thread function
The exit value of the thread's process