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



The following reply was made to PR lib/54661; it has been noted by GNATS.

From: Jason Thorpe <thorpej%me.com@localhost>
To: Joerg Sonnenberger <joerg%bec.de@localhost>
Cc: Tom Lane <tgl%sss.pgh.pa.us@localhost>,
 gnats-bugs%netbsd.org@localhost,
 lib-bug-people%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost
Subject: Re: lib/54661: pthread_self() returns invalid value in some
 circumstances
Date: Wed, 30 Oct 2019 11:30:57 -0700

 > 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