MSDN上这么写
CloseHandle invalidates the specified object handle, decrements the object's handle count, and performs object retention checks. After the last handle to an object is closed, the object is removed from the system. Closing a thread handle does not terminate the associated thread. To remove a thread object, you must terminate the thread, then close all handles to the thread.是不是把母线程中关于子线程的句柄kill了,这样母线程结束后子线程还会继续进行
?
我的解释对否,
请大侠们帮我翻译一下上面的话好不好,我英语还没有过四级那!!
CloseHandle invalidates the specified object handle, decrements the object's handle count, and performs object retention checks. After the last handle to an object is closed, the object is removed from the system. Closing a thread handle does not terminate the associated thread. To remove a thread object, you must terminate the thread, then close all handles to the thread.是不是把母线程中关于子线程的句柄kill了,这样母线程结束后子线程还会继续进行
?
我的解释对否,
请大侠们帮我翻译一下上面的话好不好,我英语还没有过四级那!!
CloseHandle使指定句柄无效,并减少句柄计数,进行对象的持续性检查,在最后一个句柄被关闭以后,对象被系统删除。
关闭一个现成句柄并不终止相关线程,删除一个线程对象,你必须终止线程,然后关闭线程的所有句柄。