mathieu wrote:

>   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 ?

I assume that _something_ writes to the memory that is being read.
Given that, you'll need to synchronize all the readers and writers using
a mutex.
--
Fran
_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to