[prev in list] [next in list] [prev in thread] [next in thread]
List: freedesktop-xcb
Subject: Re: [Xcb] pthread stubs in libX11 vs. libxcb
From: Uli Schlachter <psychon () znc ! in>
Date: 2022-09-29 15:45:28
Message-ID: 7cf40e2f-f465-fc46-b539-84fc3e14e883 () znc ! in
[Download RAW message or body]
Hi,
Am 29.09.22 um 06:27 schrieb Keith Packard:
> Alan Coopersmith <alan.coopersmith@oracle.com> writes:
>
>> Does anyone disagree?
>
> Yeah, synchronizing with xcb seems 'obviously right. The only question
> I've got is that in 2022, should xcb ever use stubs for the thread functions?
No, it shouldn't. That's why since 2017, pthread-stub just links against
pthread. It only does not do that if libc already includes the necessary
stubs. See
https://gitlab.freedesktop.org/xorg/lib/pthread-stubs/-/commit/8340ebd656c7e1a5b6d31170c1f3c87df043e793
Cheers,
Uli
--
"Do you know that books smell like nutmeg or some spice from a foreign
land?"
-- Faber in Fahrenheit 451
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic