Re: [RFC 2/2] Add steady_clock support to condition_variable

2015-07-06 Thread Jonathan Wakely
On 06/07/15 15:18 +0100, Mike Crowe wrote: On Monday 06 July 2015 at 14:54:06 +0100, Jonathan Wakely wrote: Do you have a copyright assignment in place for GCC contributions? Not yet. From my reading of https://gcc.gnu.org/contribute.html I should probably ask you for the forms. :-) Yep :-)

Re: [RFC 2/2] Add steady_clock support to condition_variable

2015-07-06 Thread Mike Crowe
On Monday 06 July 2015 at 14:54:06 +0100, Jonathan Wakely wrote: > Do you have a copyright assignment in place for GCC contributions? Not yet. From my reading of https://gcc.gnu.org/contribute.html I should probably ask you for the forms. :-) Mike.

Re: [RFC 2/2] Add steady_clock support to condition_variable

2015-07-06 Thread Jonathan Wakely
On 06/07/15 13:55 +0100, Mike Crowe wrote: If __gthread_cond_timedwaitonclock is available it can be used it to fix part of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41861 by supporting std::chrono::steady_clock properly with std::condition_variable. This means that code using std::condition_

[RFC 2/2] Add steady_clock support to condition_variable

2015-07-06 Thread Mike Crowe
If __gthread_cond_timedwaitonclock is available it can be used it to fix part of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41861 by supporting std::chrono::steady_clock properly with std::condition_variable. This means that code using std::condition_variable::wait_for or std::condition_variable