On Fri, Sep 19, 2003 at 12:45:20AM +0100, Philip Blundell wrote: > On Fri, 2003-09-19 at 00:41, Daniel Jacobowitz wrote: > > <bits/libc-lock.h> is an installed header, and the public versions of > > pthread_cleanup_push call these. I don't think we can do that. > > Oh dear. Yes, I suppose the name of the file should have tipped me off > really. Ah well.
You're right about the problem though. I think the real answer has to be "don't do that". Every use of this idiom breaks with dlopen. This is the worst offender but I'm betting there are others. __pthread_setspecific seems to be one. On the other hand maybe your patch is the right way to go. Ask libc-alpha? -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

