public inbox for libstdc++@gcc.gnu.org
 help / color / mirror / Atom feed
From: Mike Crowe <mac@mcrowe.com>
To: libstdc++@gcc.gnu.org,	gcc-patches@gcc.gnu.org
Cc: Mike Crowe <mac@mcrowe.com>
Subject: [PATCH 0/2] PR libstdc++/41861 Add full steady_clock support to condition_variable
Date: Mon, 15 Jul 2019 16:48:00 -0000	[thread overview]
Message-ID: <cover.32028f8ac2881c50370c35a4543c2882fb978461.1563209229.git-series.mac@mcrowe.com> (raw)

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

             reply	other threads:[~2019-07-15 16:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-15 16:48 Mike Crowe [this message]
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

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=cover.32028f8ac2881c50370c35a4543c2882fb978461.1563209229.git-series.mac@mcrowe.com \
    --to=mac@mcrowe.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=libstdc++@gcc.gnu.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).