STL&多线程 [英] STL & multithreading

查看:59
本文介绍了STL&多线程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

标准对这两个人说了什么?是否保证

使用STL是线程安全的?


祝你有美好的一天,

Mihai。

What does the standard say about those two? Is any assurance that the
use of STL is thread safe?

Have a nice day,
Mihai.

推荐答案

" mihai" <弥********* @ gmail.com>在消息中写道

news:11 ********************** @ o13g2000cwo.googlegr oups.com ...
"mihai" <Mi*********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
标准对这两个人说了什么?是否保证STL的使用是线程安全的?
What does the standard say about those two? Is any assurance that the
use of STL is thread safe?




不,实际上,C ++根本不知道线程是什么。


- JFA1



No, in fact, C++ has no idea what threading even is.

- JFA1




" mihai" <弥********* @ gmail.com>在消息中写道

news:11 ********************** @ o13g2000cwo.googlegr oups.com ...

"mihai" <Mi*********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
标准对这两个人说了什么?是否保证STL的使用是线程安全的?
What does the standard say about those two? Is any assurance that the
use of STL is thread safe?




我们确信STL不是线程安全的


Mino Saccone



We are sure that STL is NOT thread safe

Mino Saccone


" Mino Saccone" < MI ********** @ eidosmedia.com>在新闻中写道:d462do
"Mino Saccone" <mi**********@eidosmedia.com> wrote in news:d462do


这篇关于STL&amp;多线程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆