<mutex> looks like this:
171 #ifdef _GLIBCXX_USE_CLOCK_MONOTONIC
172 typedef chrono::monotonic_clock __clock_t;
173 #else
174 typedef chrono::high_resolution_clock __clock_t;
175 #endif
...but <condition_variable> only has this:
56 typedef chrono::system_clock __clock_t;
Shouldn't <condition_variable> be using the monotonic_clock if available, just
like <mutex>?
--
Summary: <condition_variable> does not use monotonic_clock
Product: gcc
Version: 4.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libstdc++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: atgraham at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41861