NetBSD-Bugs archive

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

Re: lib/54661: pthread_self() returns invalid value in some circumstances



> On Oct 30, 2019, at 7:52 AM, Joerg Sonnenberger <joerg%bec.de@localhost> wrote:
> 
> We didn't allow dynamic loading of libpthread at all for a long time. I
> still believe allowing it was a mistake, but *shrug*. We certainly do
> not support calling pthread_create if libpthread was not initially
> loaded. As much pthread_self() can only ever return the main thread.

Honestly, I think it's high time we merged libpthread into libc directly.

-- thorpej



Home | Main Index | Thread Index | Old Index