This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v3 6/6] Update NEWS for new _clockwait functions
- From: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- To: libc-alpha at sourceware dot org
- Date: Fri, 7 Jun 2019 11:09:07 -0300
- Subject: Re: [PATCH v3 6/6] Update NEWS for new _clockwait functions
- References: <cover.206947992e95511c1c56165c9aa98ae1a2296b75.1558987219.git-series.mac@mcrowe.com> <8e23bd5c7aa589cc1e7c892cb637d955d328c985.1558987219.git-series.mac@mcrowe.com>
On 27/05/2019 17:03, Mike Crowe wrote:
> * NEWS: Mention new pthread_cond_clockwait,
> pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
> sem_clockwait functions.
> ---
> ChangeLog | 6 ++++++
> NEWS | 6 ++++++
> 2 files changed, 12 insertions(+)
>
> diff --git a/ChangeLog b/ChangeLog
> index 66589f8..beba62b 100644
> --- a/ChangeLog
> +++ b/ChangeLog
> @@ -1,5 +1,11 @@
> 2019-05-27 Mike Crowe <mac@mcrowe.com>
>
> + * NEWS: Mention new pthread_cond_clockwait,
> + pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
> + sem_clockwait functions.
> +
> +2019-05-27 Mike Crowe <mac@mcrowe.com>
> +
> nptl: Add POSIX-proposed pthread_rwlock_clockrdlock &
> pthread_rwlock_clockwrlock which behave like
> pthread_rwlock_timedrdlock and pthread_rwlock_timedwrlock
> diff --git a/NEWS b/NEWS
> index c885b96..76b1587 100644
> --- a/NEWS
> +++ b/NEWS
> @@ -34,6 +34,12 @@ Major new features:
> pointer subtraction within the allocated object, where results might
> overflow the ptrdiff_t type.
>
> +* Add new POSIX-proposed pthread_cond_clockwait, pthread_rwlock_clockrdlock,
> + pthread_rwlock_clockwrlock and sem_clockwait functions. These behave
> + similarly to their "timed" equivalents, but also accept a clockid_t
> + parameter to determine which clock their timeout should be measured
> + against.
> +
I think it would be good to add the idea is to currently support CLOCK_MONOTONIC
as a different clock source.
> Deprecated and removed features, and other changes affecting compatibility:
>
> * The functions clock_gettime, clock_getres, clock_settime,
>