This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Is __default_alloc_template thread safe on Solaris?
- From: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>
- To: libstdc++ at gcc dot gnu dot org
- Cc: dammikap at sltnet dot lk
- Date: Thu, 8 Jan 2004 20:26:36 -0600 (CST)
- Subject: Re: Is __default_alloc_template thread safe on Solaris?
- Organization: Networks and Infrastructure Lab (IL02/2240), Motorola Labs
> 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