Skip to content
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

C++ 语言内置了多线程机制的哦 #544

Closed
chxuan opened this issue Nov 14, 2019 · 2 comments
Closed

C++ 语言内置了多线程机制的哦 #544

chxuan opened this issue Nov 14, 2019 · 2 comments

Comments

@chxuan
Copy link

chxuan commented Nov 14, 2019

大佬你好,大佬在Java基础知识->Java 语言有哪些特点上写到C++ 语言没有内置的多线程机制,其实
从C++11开始(2011年的时候)C++就引入了多线程库,在windows、linux、macos都可以使用std::thread和std::async来创建线程。

参考链接:
http:https://www.cplusplus.com/reference/thread/thread/?kw=thread

@Snailclimb
Copy link
Owner

好的 感谢老哥,这个确实知识盲区了,大学学的 C++也是比较老的版本了。

@Snailclimb
Copy link
Owner

已经修改了哦 ,再次表示感谢🙏!https://github.com/Snailclimb/JavaGuide/blob/master/docs/java/Java%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86.md#2-java-%E8%AF%AD%E8%A8%80%E6%9C%89%E5%93%AA%E4%BA%9B%E7%89%B9%E7%82%B9

@chxuan chxuan closed this as completed Nov 14, 2019
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

No branches or pull requests

2 participants