We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
web 位置
原文:
由于 C++ 保证了所有栈对象在生命周期结束时会被销毁,所以这样的代码也是异常安全的。 无论 critical_section() 正常返回、还是在中途抛出异常,都会引发堆栈回退,也就自动调用了 unlock()。
首先“栈回溯”这个词更加常见与明确,其次,“堆栈”这个词,非常不好,参见:Qihoo360/safe-rules#54
且我觉得有必要强调一句话:
因为原文的描述在我看来暗示了所有情况都会进行栈回溯。
The text was updated successfully, but these errors were encountered:
Thanks and PR welcome
Sorry, something went wrong.
fix changkun#285
0b4733f
Successfully merging a pull request may close this issue.
web 位置
原文:
首先“栈回溯”这个词更加常见与明确,其次,“堆栈”这个词,非常不好,参见:Qihoo360/safe-rules#54
且我觉得有必要强调一句话:
因为原文的描述在我看来暗示了所有情况都会进行栈回溯。
The text was updated successfully, but these errors were encountered: