tech-userlevel archive

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

Re: [PATCH] Re: sharing mutex between libc stub and libpthread



On Fri, Feb 22, 2013 at 09:15:03AM +0100, Martin Husemann wrote:
> It "fixes" a static link time/configuration error by hiding it. The "do
> not need it nor want it" is a clear indicator that they should not get
> it at all.

This is not a static link error on behalf of the DSO. Nor it is 
an error for the third party libary, that may lso contain 
pthread stuff intended to be used by a process linked with -lpthread.

> And silently dying if something in the whole mess (obviously out of
> controll already) manages to call pthread_create() makes it even worse.

We could warnx() and return an error, but that would be a standard
violation: only EAGAIN, EPERM and EINVAL are allowed.

-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index