This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Fix C11 conformance issues
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Cc: <libc-alpha at sourceware dot org>
- Date: Wed, 25 Jul 2018 15:40:04 +0000
- Subject: Re: [PATCH] Fix C11 conformance issues
- References: <1532526205-5708-1-git-send-email-adhemerval.zanella@linaro.org>
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