[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Read access to std::map from multiple threads
From: |
mathieu |
Subject: |
Read access to std::map from multiple threads |
Date: |
Wed, 18 Jun 2008 10:22:44 -0700 (PDT) |
User-agent: |
G2/1.0 |
hi there,
I am currently having some very random seg faults. The few times
where it seg fault this is somewhere during a read access to a
std::map. Those accesses are concurrent (SMP machine). Is there
something I need to do even for read only access ?
thanks
-Mathieu
Ref: debian/stable, with g++:
$ /usr/bin/c++ --
version
c++ (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
- Read access to std::map from multiple threads,
mathieu <=