patch for threads/76690 - critical - fork hang in child for -lc_r

Andriy Tkachuk andrit at
Thu Mar 3 06:59:15 GMT 2005

> This is already fixed in libpthread in both -current and -stable.
> Your patch also pollutes the application namespace with a global
> symbol thread_lock -- there is already a symbol in malloc.c that
> is there just for this purpose (__malloc_lock).

yea, i see - you right. i just didn't noticed that this one is already
static. thanks.

Ok, now the libc don't changed, and updated patch see in attachment.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libc_r-76690pr.patch
Type: application/octet-stream
Size: 930 bytes
Desc: not available
Url :

More information about the freebsd-threads mailing list