From dbb2b80f119d3566549e9d0d2626b1d05956e6f1 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 11 Sep 2003 01:09:09 +0000 Subject: [PATCH] Added ptr___pthread_cond_timedwait in the pthread_functions structure to match the latest glibc. --- scheduler/pthread.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scheduler/pthread.c b/scheduler/pthread.c index 687ba84a420..8760cbdbc95 100644 --- a/scheduler/pthread.c +++ b/scheduler/pthread.c @@ -249,6 +249,7 @@ struct pthread_functions int (*ptr_pthread_sigaction) (int sig, const struct sigaction * act, struct sigaction *oact); int (*ptr_pthread_sigwait) (const sigset_t *set, int *sig); int (*ptr_pthread_raise) (int sig); + int (*ptr___pthread_cond_timedwait) (pthread_cond_t *, pthread_mutex_t *, const struct timespec *); }; static pid_t (*libc_fork)(void); @@ -810,7 +811,8 @@ static struct pthread_functions libc_pthread_functions = pthread_internal_tsd_address, /* ptr_pthread_internal_tsd_address */ NULL, /* ptr_pthread_sigaction */ NULL, /* ptr_pthread_sigwait */ - NULL /* ptr_pthread_raise */ + NULL, /* ptr_pthread_raise */ + __pthread_cond_timedwait /* ptr___pthread_cond_timedwait */ }; #endif /* __GLIBC__ || __FREEBSD__ */