Commit e8bd1104 authored by Alexandre Julliard's avatar Alexandre Julliard

A couple of new functions have been added to the pthread_functions

structure.
parent e0c082b3
...@@ -255,6 +255,8 @@ struct pthread_functions ...@@ -255,6 +255,8 @@ struct pthread_functions
int (*ptr_pthread_sigwait) (const sigset_t *set, int *sig); int (*ptr_pthread_sigwait) (const sigset_t *set, int *sig);
int (*ptr_pthread_raise) (int sig); int (*ptr_pthread_raise) (int sig);
int (*ptr___pthread_cond_timedwait) (pthread_cond_t *, pthread_mutex_t *, const struct timespec *); int (*ptr___pthread_cond_timedwait) (pthread_cond_t *, pthread_mutex_t *, const struct timespec *);
void (*ptr__pthread_cleanup_push) (struct _pthread_cleanup_buffer * buffer, void (*routine)(void *), void * arg);
void (*ptr__pthread_cleanup_pop) (struct _pthread_cleanup_buffer * buffer, int execute);
}; };
static pid_t (*libc_fork)(void); static pid_t (*libc_fork)(void);
...@@ -810,7 +812,9 @@ static struct pthread_functions libc_pthread_functions = ...@@ -810,7 +812,9 @@ static struct pthread_functions libc_pthread_functions =
NULL, /* ptr_pthread_sigaction */ NULL, /* ptr_pthread_sigaction */
NULL, /* ptr_pthread_sigwait */ NULL, /* ptr_pthread_sigwait */
NULL, /* ptr_pthread_raise */ NULL, /* ptr_pthread_raise */
__pthread_cond_timedwait /* ptr___pthread_cond_timedwait */ __pthread_cond_timedwait, /* ptr___pthread_cond_timedwait */
_pthread_cleanup_push, /* ptr__pthread_cleanup_push */
_pthread_cleanup_pop /* ptr__pthread_cleanup_pop */
}; };
#endif /* __GLIBC__ || __FREEBSD__ */ #endif /* __GLIBC__ || __FREEBSD__ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment