For threaded applications to work correctly, we need a thread-safe version of
libgcc. It is straight forward to build: define _PTHREADS in CFLAGS. We can
have both versions just like libc and libc_r, and use the thread-safe version
when linking threaded applications. If no one objects, I will add it to our
tree and make necessary changes to gcc to use it.


To Unsubscribe: send mail to
with "unsubscribe freebsd-current" in the body of the message

Reply via email to