This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix C11 conformance issues


On Wed, 25 Jul 2018, Adhemerval Zanella wrote:

> Checked on i686-linux-gnu and i686-gnu.
> 
> 	* include/threads.h: Move to ...
> 	* sysdeps/nptl/threads.h: ... here.
> 	* sysdeps/htl/threads.h: New file.

To confirm: nptl/threads.h, not the wrapper you're moving, still gets 
correctly installed as threads.h after this patch, while it remains the 
case that no threads.h is installed for Hurd?

I think you need two separate versions of stdc-predef.h as well, so that 
Hurd gets a version that defines __STDC_NO_THREADS__.  Then once there is 
a C11 threads implementation for HTL, we can move back to just having a 
single version of stdc-predef.h.  (There should also be a single version 
of threads.h in that case, and we should aim to move towards a single 
pthread.h shared between NPTL and HTL as well.)

-- 
Joseph S. Myers
joseph@codesourcery.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]