Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::unordered_map thread safety
From: Jonathan Franklin (franklin.jonathan_at_[hidden])
Date: 2008-11-10 17:16:56


On Mon, Nov 10, 2008 at 2:43 PM, Kenny Riddile <kfriddile_at_[hidden]> wrote:

> I could be wrong, but I don't think the standard says anything about the
> thread safety of STL containers, so it's implementation-specific.

The standard says nothing of thread safety. However, 17.4.4.5 says "Which
of the functions in the C++ Standard Library are not reentrant subroutines
is implementation-defined." So at least wrt reentrancy it's implementation
defined.

Jon



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net