[patch] Re: dlopen() and dlclose() are not MT-safe? YES, esp. for libthr

Kostik Belousov kostikbel at gmail.com
Fri Mar 24 12:36:02 UTC 2006


On Fri, Mar 24, 2006 at 01:12:08PM +0100, joerg at britannica.bec.de wrote:
> On Fri, Mar 24, 2006 at 08:54:34PM +0900, Kazuaki Oda wrote:
> > * The current implementation of rtld has a problem both with
> >   libpthread and libthr.  It works only with libc_r.
> 
> It doesn't work correctly with libc_r. Concurrent dlopen and dlclose of
> the same shared object doesn't work fully corretly ATM, but the patch
> isn't the best approach either.
> 
> Joerg
You promised the patch. Anyway, part of my patch that touched rtld_lock.c
shall be discarded.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20060324/ac02d8e2/attachment.pgp


More information about the freebsd-hackers mailing list