Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.std.c++ > #156

Re: STL containers are not thread-safe!

Message-ID <XPxHp.331$Zv3.246@newsfe26.ams2> (permalink)
Newsgroups comp.std.c++
From cpp4ever <n2xssvv.g02gfr12930@ntlworld.com>
Subject Re: STL containers are not thread-safe!
Organization virginmedia.com
References <7b4b5352-05a4-436e-8c57-aa51d4116428@glegroupsg2000goo.googlegroups.com>
Date 2011-06-08 13:13 -0600

Show all headers | View raw


On 07/06/11 20:04, itcecsa wrote:
>
> to be used in multi-threaded environment, all the containers must be used in
> a wrapped thread-safe mechanism. is there a thread-safe STL container
> library existing? or the next C++ standard will support thread-safe
> containers?

I'm not fully up to date with the next C++0x release, but I think it
will contain thread classes, so creating  your own standard thread safe
containers should be easier.


--
[ comp.std.c++ is moderated.  To submit articles, try posting with your ]
[ newsreader.  If that fails, use mailto:std-cpp-submit@vandevoorde.com ]
[              --- Please see the FAQ before posting. ---               ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html                      ]

Back to comp.std.c++ | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

STL containers are not thread-safe!  itcecsa <itcecsa@gmail.com> - 2011-06-07 13:04 -0600
  Re: STL containers are not thread-safe!  Daniel Krügler <daniel.kruegler@googlemail.com> - 2011-06-07 14:33 -0600
  Re: STL containers are not thread-safe!  Anthony Williams <anthony.ajw@gmail.com> - 2011-06-07 14:41 -0600
  Re: STL containers are not thread-safe!  cpp4ever <n2xssvv.g02gfr12930@ntlworld.com> - 2011-06-08 13:13 -0600
  Re: STL containers are not thread-safe! Dave Abrahams<dave@boostpro.com> - 2011-09-14 11:15 -0700

csiph-web