From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9898 invoked by alias); 19 Aug 2019 16:27:03 -0000 Mailing-List: contact libstdc++-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libstdc++-owner@gcc.gnu.org Received: (qmail 9878 invoked by uid 89); 19 Aug 2019 16:27:03 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-13.1 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,KAM_SHORT,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 spammy=H*r:smtp X-HELO: avasout01.plus.net Received: from avasout01.plus.net (HELO avasout01.plus.net) (84.93.230.227) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 19 Aug 2019 16:27:01 +0000 Received: from deneb ([80.229.24.9]) by smtp with ESMTP id zkUghqEL4ejAjzkUhh9wv0; Mon, 19 Aug 2019 17:26:58 +0100 X-Clacks-Overhead: "GNU Terry Pratchett" X-CM-Score: 0.00 Received: from mac by deneb with local (Exim 4.92) (envelope-from ) id 1hzkUg-0002oB-Dv; Mon, 19 Aug 2019 17:26:54 +0100 Date: Mon, 19 Aug 2019 16:27:00 -0000 From: Mike Crowe To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: Re: [PATCH 0/2] PR libstdc++/41861 Add full steady_clock support to condition_variable Message-ID: <20190819162654.GA7340@mcrowe.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-IsSubscribed: yes X-SW-Source: 2019-08/txt/msg00039.txt.bz2 On Monday 15 July 2019 at 17:47:47 +0100, Mike Crowe wrote: > 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 glibc 2.30 has now been released and contains pthread_cond_clockwait. Mike.