[PATCH] Fix C11 conformance issues

Joseph Myers joseph@codesourcery.com
Wed Jul 25 15:40:00 GMT 2018


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



More information about the Libc-alpha mailing list