public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Adhemerval Zanella <azanella@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc/azanella/master-posix_clock] Update NEWS for new _clockwait and _clocklock functions
Date: Wed, 26 Jun 2019 18:38:00 -0000	[thread overview]
Message-ID: <20190626183806.33016.qmail@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8606260345cf12b6ee9f64bca8aa878b9ef56562

commit 8606260345cf12b6ee9f64bca8aa878b9ef56562
Author: Mike Crowe <mac@mcrowe.com>
Date:   Mon Jun 24 19:51:03 2019 +0000

    Update NEWS for new _clockwait and _clocklock functions
    
    	* NEWS: Mention recently-added pthread_cond_clockwait,
    	pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
    	sem_clockwait functions.
    
    Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>

Diff:
---
 ChangeLog | 4 ++++
 NEWS      | 9 +++++++++
 2 files changed, 13 insertions(+)

diff --git a/ChangeLog b/ChangeLog
index 1fe9f6c..a7db0cf 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2019-06-26  Mike Crowe  <mac@mcrowe.com>
 
+	* NEWS: Mention recently-added pthread_cond_clockwait,
+	pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
+	sem_clockwait functions.
+
 	* sysdeps/nptl/pthread.h: Add pthread_mutex_clocklock.
 	* nptl/DESIGN-systemtap-probes.txt: Likewise.
 	* nptl/pthread_mutex_timedlock.c
diff --git a/NEWS b/NEWS
index 8a2fece..59dd8b3 100644
--- a/NEWS
+++ b/NEWS
@@ -34,6 +34,15 @@ 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_mutex_clocklock,
+  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.  All functions allow waiting against CLOCK_MONOTONIC
+  and CLOCK_REALTIME.  The decision of which clock to be used is made at the
+  time of the wait (unlike with pthread_condattr_setclock, which requires
+  the clock choice at initialization time).
+
 Deprecated and removed features, and other changes affecting compatibility:
 
 * The functions clock_gettime, clock_getres, clock_settime,


             reply	other threads:[~2019-06-26 18:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-26 18:38 Adhemerval Zanella [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-07-02 17:27 Adhemerval Zanella
2019-06-25 22:10 Adhemerval Zanella

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190626183806.33016.qmail@sourceware.org \
    --to=azanella@sourceware.org \
    --cc=glibc-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).