diff options
Diffstat (limited to 'sysdeps/pthread')
-rw-r--r-- | sysdeps/pthread/timer_gettime.c | 2 | ||||
-rw-r--r-- | sysdeps/pthread/timer_routines.c | 2 | ||||
-rw-r--r-- | sysdeps/pthread/timer_settime.c | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sysdeps/pthread/timer_gettime.c b/sysdeps/pthread/timer_gettime.c index ef3019fa59..f5f060afec 100644 --- a/sysdeps/pthread/timer_gettime.c +++ b/sysdeps/pthread/timer_gettime.c @@ -50,7 +50,7 @@ timer_gettime (timer_t timerid, struct itimerspec *value) { if (armed) { - clock_gettime (clock, &now); + __clock_gettime (clock, &now); if (timespec_compare (&now, &expiry) < 0) timespec_sub (&value->it_value, &expiry, &now); else diff --git a/sysdeps/pthread/timer_routines.c b/sysdeps/pthread/timer_routines.c index 25ccfadd7e..c12246792b 100644 --- a/sysdeps/pthread/timer_routines.c +++ b/sysdeps/pthread/timer_routines.c @@ -376,7 +376,7 @@ thread_func (void *arg) /* This assumes that the elements of the list of one thread are all for the same clock. */ - clock_gettime (timer->clock, &now); + __clock_gettime (timer->clock, &now); while (1) { diff --git a/sysdeps/pthread/timer_settime.c b/sysdeps/pthread/timer_settime.c index 5c541acb77..8a71a506f8 100644 --- a/sysdeps/pthread/timer_settime.c +++ b/sysdeps/pthread/timer_settime.c @@ -55,7 +55,7 @@ timer_settime (timer_t timerid, int flags, const struct itimerspec *value, if ((flags & TIMER_ABSTIME) == 0) { - clock_gettime (timer->clock, &now); + __clock_gettime (timer->clock, &now); have_now = 1; } @@ -80,7 +80,7 @@ timer_settime (timer_t timerid, int flags, const struct itimerspec *value, if (! have_now) { pthread_mutex_unlock (&__timer_mutex); - clock_gettime (timer->clock, &now); + __clock_gettime (timer->clock, &now); have_now = 1; pthread_mutex_lock (&__timer_mutex); timer_addref (timer); |