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 v3 6/6] Update NEWS for new _clockwait functions



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,
> 


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