Is __default_alloc_template thread safe on Solaris?
Loren James Rittle
rittle@latour.rsch.comm.mot.com
Fri Jan 9 02:26:00 GMT 2004
> I have extensively used libstdc++ on multithreaded apps on linux
> platform, however STLs seem to have notorious behaviour on Solaris
> platform. [...] g++ verion on Solaris is 2.95.3 while
IMHO, it is *very* hard to configure and use threads in STL properly
with g++ 2.95.X (and anything before 3.0) on a random port. Your
report confirms that fact. Upgrade your Solaris box to (at least) g++
3.2, where the compiler reports "Thread model: posix".
Regards,
Loren
More information about the Libstdc++
mailing list