Subj : Re: STL Containers w/ Virtually Zero-Overhead Lock-Free Reads... To : (Usenet) From : Torsten Robitzki Date : Tue Sep 27 2005 11:34 am David Abrahams wrote: > Torsten Robitzki writes: >> >>Lock-Free or Not Lock Free, I think that STL-Containers have a interface >>that is quit useless for beeing used in a threaded eviroment. > > > That's quite a bit too strong. > > The STL Container interface makes them useless **as shared data > structures** in a threaded environment **unless you use external > locks**. Yes, you are right. And as Chris said, most of the STL implemenations should be usable if only read accesses occure. regards Torsten [ See http://www.gotw.ca/resources/clcm.htm for info about ] [ comp.lang.c++.moderated. First time posters: Do this! ] .