avatar
L*e
2
多线程在标准c++下有定义吗?
还是和具体的编译器实现有关,比如gcc和vc下实现不一样?
avatar
h*e
3
no, you have to use thread libraries now. Maybe in near future C++ will have
language support for threading.

【在 L*****e 的大作中提到】
: 多线程在标准c++下有定义吗?
: 还是和具体的编译器实现有关,比如gcc和vc下实现不一样?

avatar
w*g
4
boost里有比较方便的多线程编程接口。

【在 L*****e 的大作中提到】
: 多线程在标准c++下有定义吗?
: 还是和具体的编译器实现有关,比如gcc和vc下实现不一样?

avatar
f*y
5
等09版吧

【在 L*****e 的大作中提到】
: 多线程在标准c++下有定义吗?
: 还是和具体的编译器实现有关,比如gcc和vc下实现不一样?

avatar
h*o
6
It seems that built-in multi-thread is a huge problem in a language like C++
.
The reason, as my unstanding, is that standard C++ is platform dependent
language. And the different OS handle multi-thread differently. For example,
Windows is a real multi-thread OS, while Unix/Linux are not real ones. They
use multi processes to simulate multi thread behavior.
I guess that this difference makes built-in multi-thread support unrealistic
for C++ as long as you do not want to make it platform indepen
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。