主要是想问问:
正执行到stl.push_back();内部时 TerminateThread 会不会立即中断线程。
这样中断后,stl数据结构会不会损坏
[/Quote]
TerminateThread
TerminateThread is used to cause a thread to exit. When this occurs, the target thread has no chance to execute any user-mode code and its initial stack is not deallocated. DLLs attached to the thread are not notified that the thread is terminating.