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
相关阅读
也问个二维数组的函数传递问题emacs为啥要把shortcut设置成那么别扭5/24-IT新手入门第四讲 如何找数据库的工作 (转载)菜鸟问题:写一个小测试软件matlab handle 一问wiki上关于map的这段程序为什么不work?Please Recommend a Book to Learn Python. Thanks!D3這server到底有啥難度?這麼不stable?? (转载)两个线程异步通信是不是用信号最好?关于python的优势C calls C++ library这里的牛人很多,都读过标准吗perl怎么这么难?编程用的电脑使用CPython要避免多线程?有没有好的轻量级别的lock free的queue written in C?请教一个C++的问题什么时候该用什么sort算法python: how to import a decorator?https/http