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
相关阅读
为什么有了lisp还需要发明xml,htmp,xslt这些乱七八糟的东西?一定要掌握一门最简洁的语言C++这种用裸指针的怎么设计VM?说完了AI,有没有人愿意讨论下ML?julia有前途吗? (转载)水木上python大坑啊: 疑Google员工把8w行Python项目用4w行Java重写了码农如何接私活求教: JBoss 怎么config MDB consumer queue?One node to rule them all!advanced OS 和computer networks哪个对提高编程帮助更大?cassandra db design好虫愿意出来给大家办个讲座吗?水母那个大坑太搞笑了Node, Express 一问学FP不是为了写代码, 而是为了优秀的架构.C++在linux下读一次系统时间要多少时间Python和perl都属于那种很难精通的语言你们平时都是怎么把自己在公司做项目的代码拷贝到自己机器上Paypal这次搞的Java有些狼狈呀转载:Announcing Scala.js v0.1 Because in the future, all co