[v3,6/6] Update NEWS for new _clockwait functions

Message ID 8e23bd5c7aa589cc1e7c892cb637d955d328c985.1558987219.git-series.mac@mcrowe.com
State New
Headers show
Series
  • Implement POSIX-proposed _clockwait variants of existing _timedwait functions
Related show

Commit Message

Mike Crowe May 27, 2019, 8:03 p.m.
* 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(+)

-- 
git-series 0.9.1

Comments

Adhemerval Zanella June 7, 2019, 2:09 p.m. | #1
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,

>

Patch

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.
+
 Deprecated and removed features, and other changes affecting compatibility:
 
 * The functions clock_gettime, clock_getres, clock_settime,