This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.


[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

[Semi-OT] The C++ Standard Library



Q: Are STL containers guaranteed to be thread safe? I.e. will two
   threads iterating through a list and possibly adding or removing
   list items interfere with one another or does list and its
   friends enforce any necessary mutual exclusion?
   Is thread-safety dependent on having a specific threading
   library in the system?

-- 
   .*.  "Clouds are not spheres, mountains are not cones, coastlines are not
-()  <  circles, and bark is not smooth, nor does lightning travel in a
   `*'  straight line."    -------------------------------------------------
        -- B. Mandelbrot  |http://surf.to/pgd.net
_____________________ ____|________     Paul Derbyshire     pderbysh@usa.net
Programmer & Humanist|ICQ: 10423848|