diff options
Diffstat (limited to 'Modules/_testsinglephase.c')
-rw-r--r-- | Modules/_testsinglephase.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/_testsinglephase.c b/Modules/_testsinglephase.c index dccac28..58d22e2 100644 --- a/Modules/_testsinglephase.c +++ b/Modules/_testsinglephase.c @@ -71,13 +71,13 @@ _set_initialized(PyTime_t *initialized) { /* We go strictly monotonic to ensure each time is unique. */ PyTime_t prev; - if (_PyTime_GetMonotonicClockWithInfo(&prev, NULL) != 0) { + if (_PyTime_MonotonicWithInfo(&prev, NULL) != 0) { return -1; } /* We do a busy sleep since the interval should be super short. */ PyTime_t t; do { - if (_PyTime_GetMonotonicClockWithInfo(&t, NULL) != 0) { + if (_PyTime_MonotonicWithInfo(&t, NULL) != 0) { return -1; } } while (t == prev); |