diff options
Diffstat (limited to 'gcc/ada/thread.c')
-rw-r--r-- | gcc/ada/thread.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/gcc/ada/thread.c b/gcc/ada/thread.c index 237cfaf79e4..31309e05b6e 100644 --- a/gcc/ada/thread.c +++ b/gcc/ada/thread.c @@ -40,27 +40,8 @@ # include <pthread.h> # include <time.h> -#ifndef _AIXVERSION_530 -/* We use the same runtime library for AIX 5.2 and 5.3, but pthread_condattr_ - * setclock exists only on the latter, so for the former provide a dummy - * implementation (declared below, weak symbol defined in init.c). - * - * Note: this means that under AIX 5.2 we'll be using CLOCK_MONOTONIC - * timestamps from clock_gettime() as arguments to pthread_cond_timedwait, - * which expects a CLOCK_REALTIME value, which is technically wrong, but - * inocuous in practice on that particular platform since both clocks happen - * to use close epochs. - */ - -extern int pthread_condattr_setclock (pthread_condattr_t *attr, clockid_t cl); -#endif - int __gnat_pthread_condattr_setup(pthread_condattr_t *attr) { -/* - * If using a clock other than CLOCK_REALTIME for the Ada Monotonic_Clock, - * the corresponding clock id must be set for condition variables. - */ return pthread_condattr_setclock (attr, CLOCK_RT_Ada); } |