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: Kamil Rytarowski <n54%gmx.com@localhost>
To:
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: lib/54661: pthread_self() returns invalid value in some
circumstances
Date: Wed, 30 Oct 2019 20:34:17 +0100
On 30.10.2019 19:30, Jason Thorpe wrote:
>
>> 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
>
I'm just noting that if we would merge libpthread into libc, we still
need to keep a stub libpthread for c99 (POSIX).
Home |
Main Index |
Thread Index |
Old Index