public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH 0/2] PR libstdc++/41861 Add full steady_clock support to condition_variable
@ 2019-07-15 16:48 Mike Crowe
  2019-07-15 16:48 ` [PATCH 2/2] " Mike Crowe
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Mike Crowe @ 2019-07-15 16:48 UTC (permalink / raw)
  To: libstdc++, gcc-patches; +Cc: Mike Crowe

The pthread_cond_clockwait function was recently added[1] to glibc,
and is due to be released in glibc 2.30. If this function is available
in the C library it can be used it to fix
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41861 by supporting
std::chrono::steady_clock properly with std::condition_variable.

Mike Crowe (2):
  Add user-defined clock to libstdc++ condition_variable tests
  PR libstdc++/41861 Add full steady_clock support to condition_variable

 libstdc++-v3/ChangeLog                                                | 34 +++++++++++++++++++++++++++++-
 libstdc++-v3/acinclude.m4                                             | 31 +++++++++++++++++++++++++++-
 libstdc++-v3/config.h.in                                              |  3 +++-
 libstdc++-v3/configure                                                | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 libstdc++-v3/configure.ac                                             |  3 +++-
 libstdc++-v3/include/std/condition_variable                           | 52 +++++++++++++++++++++++++++++++++++++++------
 libstdc++-v3/testsuite/30_threads/condition_variable/members/2.cc     | 29 ++++++++++++++++++++++---
 libstdc++-v3/testsuite/30_threads/condition_variable_any/members/2.cc | 29 ++++++++++++++++++++++---
 8 files changed, 252 insertions(+), 12 deletions(-)

base-commit: 7b0d7c79224b412ea5073593943ab1525cbbda73
-- 
git-series 0.9.1

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-09-04 22:46 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-15 16:48 [PATCH 0/2] PR libstdc++/41861 Add full steady_clock support to condition_variable Mike Crowe
2019-07-15 16:48 ` [PATCH 2/2] " Mike Crowe
2019-09-04 13:39   ` Jonathan Wakely
2019-09-04 14:49     ` Mike Crowe
2019-09-04 16:14       ` Jonathan Wakely
2019-09-04 16:57         ` Mike Crowe
2019-09-04 17:21           ` Mike Crowe
2019-09-04 22:46             ` Jonathan Wakely
2019-07-15 16:51 ` [PATCH 1/2] Add user-defined clock to libstdc++ condition_variable tests Mike Crowe
2019-08-19 16:27 ` [PATCH 0/2] PR libstdc++/41861 Add full steady_clock support to condition_variable Mike Crowe

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).