2013年5月18日
摘要: 1. 本来,MSDN已经明确指出了: You can call _endthread or _endthreadex explicitly to terminate a thread; however, _endthread or _endthreadex is called automatically when the thread returns from the routine pas... 阅读全文
posted @ 2013-05-18 01:09 qinfengxiaoyue 阅读(2378) 评论(0) 推荐(0)
摘要: 节选:http://stackoverflow.com/questions/2331316/what-is-stack-unwinding 1. Stack unwinding is usually talked about in connection with exception handling. Here's an example: void func( int x ){ char... 阅读全文
posted @ 2013-05-18 00:35 qinfengxiaoyue 阅读(876) 评论(0) 推荐(0)
摘要: 关键字:C++资源管理异常处理 RAII Stack-Unwinding(栈辗转开解)http://blog.csdn.net/daheiantian/article/details/6530318 阅读全文
posted @ 2013-05-18 00:07 qinfengxiaoyue 阅读(174) 评论(0) 推荐(0)