tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: dlopen() and libpthread



Thor Lancelot Simon <tls%panix.com@localhost> wrote:

> > And my question is: why should libpthread be forbidden for dlopen(3)?
> Because the dynamic loader cannot travel backwards in time and cause libc
> to have started up, in the past, with threading enabled.

It would be nice if dlopen() could still succeed while not loading
libraries taggged NOOPEN. If it is not really needed, that works. If the
library was required, we get a hard failure when a missing symbol is
called.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index