This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 2/7] nptl: Add POSIX-proposed sem_clockwait
On Wed, 27 Feb 2019, Mike Crowe wrote:
> * conform/data/semaphore.h-data: Likewise.
No, that's not appropriate; conform/ baselines are always for existing
standards, not what might appear in a new standard version. These
functions are not part of any current version of POSIX. If a future
version of POSIX (issue 8) adds them, the conform/ expectations will need
to be conditional so that the functions are only expected for POSIXyyyy ||
XOPENyyyy (where yyyy is the year of the new POSIX version in
_POSIX_C_SOURCE), not for any previous standard version.
The same of course applies to declarations in installed headers - they
should initially be conditional on __USE_GNU, potentially changing to a
new __USE_* macro when there's a new verison of POSIX. That applies to
all the functions, in all the patches.
--
Joseph S. Myers
joseph@codesourcery.com