This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

HELP! FreeBSD g++ multi-threaded application?


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]