2
0
mirror of https://github.com/boostorg/thread.git synced 2026-02-11 00:02:12 +00:00

Windows has an internal steady clock.

This commit is contained in:
Vicente J. Botet Escriba
2017-09-05 12:46:34 +02:00
parent 81fe14fda2
commit d00933d5f4

View File

@@ -21,7 +21,7 @@ namespace thread_detail {
#ifdef BOOST_THREAD_USES_CHRONO
#if defined(BOOST_THREAD_PLATFORM_WIN32)
typedef chrono::system_clock internal_clock_t;
typedef chrono::steady_clock internal_clock_t;
#elif defined(BOOST_THREAD_HAS_CONDATTR_SET_CLOCK_MONOTONIC)
typedef chrono::steady_clock internal_clock_t;
#else