Re: [PATCH 2/2] PR libstdc++/41861 Add full steady_clock support to condition_variable

2019-09-04 Thread Jonathan Wakely
On 04/09/19 18:21 +0100, Mike Crowe wrote: On Wednesday 04 September 2019 at 17:57:45 +0100, Mike Crowe wrote: On Wednesday 04 September 2019 at 17:14:30 +0100, Jonathan Wakely wrote: > On 04/09/19 15:49 +0100, Mike Crowe wrote: > > On Wednesday 04 September 2019 at 14:39:35 +0100, Jonathan Wake

Re: [PATCH 2/2] PR libstdc++/41861 Add full steady_clock support to condition_variable

2019-09-04 Thread Jonathan Wakely
On 04/09/19 15:49 +0100, Mike Crowe wrote: On Wednesday 04 September 2019 at 14:39:35 +0100, Jonathan Wakely wrote: On 15/07/19 17: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 avai

Re: [PATCH 2/2] PR libstdc++/41861 Add full steady_clock support to condition_variable

2019-09-04 Thread Mike Crowe
On Wednesday 04 September 2019 at 14:39:35 +0100, Jonathan Wakely wrote: > On 15/07/19 17: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 use

Re: [PATCH 2/2] PR libstdc++/41861 Add full steady_clock support to condition_variable

2019-09-04 Thread Jonathan Wakely
On 15/07/19 17: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::chr

[PATCH 2/2] PR libstdc++/41861 Add full steady_clock support to condition_variable

2019-07-15 Thread 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::conditio