public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/azanella/master-posix_clock] Update NEWS for new _clockwait and _clocklock functions
@ 2019-07-02 17:27 Adhemerval Zanella
0 siblings, 0 replies; 3+ messages in thread
From: Adhemerval Zanella @ 2019-07-02 17:27 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=6df32fd016ae8d6e39fbbc3a7fa40b1b608142a3
commit 6df32fd016ae8d6e39fbbc3a7fa40b1b608142a3
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 bf5ce3a..f2cb99f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2019-07-02 Mike Crowe <mac@mcrowe.com>
+ * NEWS: Mention recently-added pthread_cond_clockwait,
+ pthread_rwlock_clockrdlock, pthread_rwlock_clockwrlock and
+ sem_clockwait functions.
+
nptl: Add POSIX-proposed pthread_mutex_clocklock function that
works like pthread_mutex_timedlock but takes a clockid parameter to
measure the abstime parameter against.
diff --git a/NEWS b/NEWS
index 6c7de10..563328e 100644
--- a/NEWS
+++ b/NEWS
@@ -40,6 +40,15 @@ Major new features:
FUNCTION-NAME, version SYMBOL-VERSION not defined in file DSO-NAME with
link time reference, is gone.
+* 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 copy_file_range function fails with ENOSYS if the kernel does not
^ permalink raw reply [flat|nested] 3+ messages in thread
* [glibc/azanella/master-posix_clock] Update NEWS for new _clockwait and _clocklock functions
@ 2019-06-26 18:38 Adhemerval Zanella
0 siblings, 0 replies; 3+ messages in thread
From: Adhemerval Zanella @ 2019-06-26 18:38 UTC (permalink / raw)
To: glibc-cvs
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,
^ permalink raw reply [flat|nested] 3+ messages in thread
* [glibc/azanella/master-posix_clock] Update NEWS for new _clockwait and _clocklock functions
@ 2019-06-25 22:10 Adhemerval Zanella
0 siblings, 0 replies; 3+ messages in thread
From: Adhemerval Zanella @ 2019-06-25 22:10 UTC (permalink / raw)
To: glibc-cvs
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8363dcba308b11ed86016018ffc7d370fe5b3ddd
commit 8363dcba308b11ed86016018ffc7d370fe5b3ddd
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.
Diff:
---
ChangeLog | 4 ++++
NEWS | 9 +++++++++
2 files changed, 13 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index b2397cb..d4da344 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2019-06-21 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,
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-07-02 17:27 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-02 17:27 [glibc/azanella/master-posix_clock] Update NEWS for new _clockwait and _clocklock functions Adhemerval Zanella
-- strict thread matches above, loose matches on Subject: below --
2019-06-26 18:38 Adhemerval Zanella
2019-06-25 22:10 Adhemerval Zanella
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).