Fix r363125 (Implement CLOCK_MONOTONIC_RAW (linux >= 2.6.28)),
by realy using the MONOTONIC version and not the REALTIME version. Noticed by: myfreeweb at github
This commit is contained in:
parent
83b8204f61
commit
e37db348c1
@ -212,10 +212,10 @@ linux_to_native_clockid(clockid_t *n, clockid_t l)
|
||||
*n = CLOCK_THREAD_CPUTIME_ID;
|
||||
break;
|
||||
case LINUX_CLOCK_REALTIME_COARSE:
|
||||
case LINUX_CLOCK_MONOTONIC_RAW:
|
||||
*n = CLOCK_REALTIME_FAST;
|
||||
break;
|
||||
case LINUX_CLOCK_MONOTONIC_COARSE:
|
||||
case LINUX_CLOCK_MONOTONIC_RAW:
|
||||
*n = CLOCK_MONOTONIC_FAST;
|
||||
break;
|
||||
case LINUX_CLOCK_BOOTTIME:
|
||||
|
Loading…
x
Reference in New Issue
Block a user