L*e
2 楼
多线程在标准c++下有定义吗?
还是和具体的编译器实现有关,比如gcc和vc下实现不一样?
还是和具体的编译器实现有关,比如gcc和vc下实现不一样?
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
.
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
相关阅读
感觉并发模型上go可以秒vertxjavascript的framework太多了有人抛弃了playAnaconda装起来会跟已有的python dist有什么冲突吗?后端码农的职业该怎么发展生物千老建议:能否用生物的研究方法来搞CS? (转载)Js + jquery + html 做前台足以疯传win10打算兼容android app了怎样能把go写的稍微漂亮一点?Java本来就是抄C++没抄好的产物个人创业项目如何启动?弱问:WPF的ValidationRule怎样Refer外部的变量?有啥便宜的方法部署web database?react js这个有必要学习么?是代替什么的?干angular js用的?Eclipse JNI问题, 拜谢学java的找工作好苦逼呀Truncation error import csv file to SQL table (转载)王垠:我的个人防火墙(MITBBS惨被黑) (转载)zhaoce你要做skynet的话最好跟我学软同学们快来介绍一下一剑移植win10是怎么搞法吧