[Xcb] [PATCH pthread-stubs 0/4] Rework pthread-stubs design/implementation

Josh Triplett josh at joshtriplett.org
Fri Nov 4 00:11:56 UTC 2016


On Thu, Nov 03, 2016 at 11:41:29PM +0100, Samuel Thibault wrote:
> Samuel Thibault, on Thu 03 Nov 2016 23:35:53 +0100, wrote:
> > Josh Triplett, on Thu 03 Nov 2016 15:13:49 -0600, wrote:
> > > On Thu, Nov 03, 2016 at 08:24:55PM +0000, Emil Velikov wrote:
> > > >  1) make pthread-stubs "meta package" who's Cflags/Libs expand to the platform
> > > > specific PTHREAD_{CFLAGS,LIBS} if the runtime does not provide lightweight
> > > > pthread symbols, or
> > > I don't have any fundamental objections here, but Linux isn't the
> > > platform that really needs pthread-stubs in the first place.  Could you
> > > please seek out some feedback from people working on platforms that need
> > > pthread-stubs for the core stubs, to find out how this might impact
> > > them?  I've CCed a couple of lists of potentially interested folks.
> > 
> > Concerning GNU/Hurd and GNU/kFreeBSD, we simply use glibc's forwarding
> > mechanism, so pthread-stubs is empty there, and thus 1) is fine there.
> 
> Note: I'm only talking about GNU/kFreeBSD here, not FreeBSD which has
> its own libc which I don't know the status of concerning pthread stubs.

That was part of my hope, namely that there'd be sufficient overlap
between those communities that there might be folks who can speak to
both.


More information about the Xcb mailing list