tech-userlevel archive

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

Re: fixing libpthread noload, another approach

On Tue, Feb 05, 2013 at 02:58:07AM +0100, Emmanuel Dreyfus wrote:
> David Laight <> wrote:
> > The problem is that there is also the class of programs that (directly
> > or indirectly) dlopen() libpthread and then create threads.
> > 
> > Any such programs might have appeared to work previously, but then
> > been subject to random failures due to missing locking inside libc.
> > 
> > Those are the class of programs that we need to worry about.
> My proposal address them. They will reliabily abort when calling
> pthread_create() or anything else that they shoud find in libpthread.

Calling abort() is too late.


David Laight:

Home | Main Index | Thread Index | Old Index