This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
HELP! FreeBSD g++ multi-threaded application?
- To: gcc at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Subject: HELP! FreeBSD g++ multi-threaded application?
- From: jeanniey at corp124 dot com
- Date: Tue, 23 Jan 2001 13:26:36 -0800
Hi,
I'm working on porting multi-threaded application
on the FreeBSD OS. I have built the application
using the gnu g++ compiler. I am running into all
sorts of problems indicative of memory bashing and
unsafe concurrent access.
Does anyone know of any problems with reentrant
libraries on FreeBSD? Also, is there any way I
can tell which libraries are thread safe or not?
I know that libstdc++ is not thread safe. Is
there any way to get around that? I am compiling
with the -D_REENTRANT -D_THREAD_SAFE -D_PTHREADS
-D__USE_MALLOC flags. Is there something else I'm
missing?
any help would be greatly appreciated. thank you,
jeannie yang
jeanniey@corp124.com