help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Read access to std::map from multiple threads


From: Paul Pluzhnikov
Subject: Re: Read access to std::map from multiple threads
Date: Thu, 19 Jun 2008 23:24:39 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

mathieu <mathieu.malaterre@gmail.com> writes:

> On Jun 18, 9:15 pm, Francis Litterio <em...@not.available> wrote:
>> mathieu wrote:
...
>> > std::map. Those accesses are concurrent (SMP machine). Is there
>> > something I need to do even for read only access ?
                                     ^^^^^^^^^^^^^^^^
...
> #4  0x00002b78ba63bc3f in std::map<...>::insert ()

What made you believe that map::insert() is a read-only access?

-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]