STL thread safeness ?
Dima Volodin
dvv@dvv.org
Thu Apr 20 12:44:00 GMT 2000
If you use egcs/gcc STL and use <string>, make sure that it supports your
architecture. If you use SGI STL or STLport, check
http://www.sgi.com/Technology/STL/thread_safety.html
Cheers!
Dima
nightOwl wrote:
> Hi,..
>
> I'm writing a multi-threaded application on solaris 8 using POSIX-threads,
> and I was wondering how MT-safe the STL library is. I found __STL_PTHREADS
> in <stl_alloc.h>, is this the only flag and thereby the right one to use ?
> Or are there other/more general flag(s) to use ?
>
> regards,
> Peter Zijlstra
>
> PS. is there proper documentation on this subject ?
More information about the Gcc
mailing list