libc/1818: pthread problem with dlcose()

H . J . Lu hjl@lucon.org
Tue Jul 18 17:31:00 GMT 2000


On Tue, Jul 18, 2000 at 05:17:53PM -0700, Ulrich Drepper wrote:
> 
> This would be an ugly hack which pollutes the otherwise quite clean
> code.  And I don't think it's worth it.  Applications which are using
> thread, possibly through modules, should be linked against the thread
> library.
> 
> Solaris solves the problem (they also don't allow unloading the thread
> library) is by having the flag DF_1_NODELETE set in the FLAGS_1 word
> of the thread library.  This is a much more worthwhile way to handle
> this.

I can look into implmenting it in the linker.


H.J.


More information about the Libc-hacker mailing list