Skip to content

Better translation of std::thread::join() #260

New issue

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

Merged
merged 1 commit into from
Feb 27, 2023

Conversation

ZJUGuoShuai
Copy link
Contributor

说明

join() 被直接按字面意思翻译为“加入一个线程”,这个翻译有失偏颇。我认为改成“等待一个线程结束(与该线程汇合)”更合适。

变化箱单

  • 将中文版第七章 并发与并行 中的 join() 的中文解释进行了修改。

参考文献

参考了 CppReference 和《C++ 并发编程实战》的中文翻译。

Copy link
Owner

@changkun changkun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@changkun changkun merged commit 725df6b into changkun:master Feb 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants