|
From: | Davy Durham |
Subject: | Thread-safe compiling |
Date: | Mon, 22 Aug 2005 17:56:08 -0500 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050322 |
Hi,I'm writing a very multi-threaded application. It's segfaulting on me and after a long while I am unable to figure out why. I'm not new to threads, but this is stumping me at present.
I just wanted to make sure that I'm doing everything necessary for having a thread-safe version of glibc. It's glibc-2.3.4 on linux-2.6.11, and I'm compiling with -D_THREAD_SAFE, and obviously I'm linking with -lpthread
Is there anything else I should be doing? Thanks, Davy
[Prev in Thread] | Current Thread | [Next in Thread] |