From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 33035 invoked by alias); 26 Jun 2019 18:38:06 -0000 Mailing-List: contact glibc-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: , Sender: glibc-cvs-owner@sourceware.org List-Subscribe: Received: (qmail 33017 invoked by uid 9943); 26 Jun 2019 18:38:06 -0000 Date: Wed, 26 Jun 2019 18:38:00 -0000 Message-ID: <20190626183806.33016.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc/azanella/master-posix_clock] Update NEWS for new _clockwait and _clocklock functions X-Act-Checkin: glibc X-Git-Author: Mike Crowe X-Git-Refname: refs/heads/azanella/master-posix_clock X-Git-Oldrev: b255589a78fd8f9d82b259cbfb71c65758ba755e X-Git-Newrev: 8606260345cf12b6ee9f64bca8aa878b9ef56562 X-SW-Source: 2019-q2/txt/msg00624.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8606260345cf12b6ee9f64bca8aa878b9ef56562 commit 8606260345cf12b6ee9f64bca8aa878b9ef56562 Author: Mike Crowe 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 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 + * 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,