http://msdn.microsoft.com/en-us/library/ms686724%28v=vs.85%29.aspx
Terminating a thread has the following results:
- Any resources owned by the thread, such as windows and hooks, are freed.
- The thread exit code is set.
- The thread object is signaled.
- If the thread is the only active thread in the process, the process is terminated. For more information, see Terminating a Process.
本文探讨了终止线程后释放资源、设置退出代码、信号线程对象等关键操作,并阐述了唯一活动线程终止时整个进程的终结过程。

被折叠的 条评论
为什么被折叠?



