aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-09-10 22:27:42 +0000
committerRoland McGrath <roland@gnu.org>2003-09-10 22:27:42 +0000
commit38791048930dfcf0a4dda23d04f4f188d28eb213 (patch)
tree7482e21d42ca918f4a474a58e4b65b4fb18ad520 /linuxthreads/sysdeps
parentc6416bfa64907504d4c562cfe8df3ffeb6e5c14f (diff)
downloadglibc-38791048930dfcf0a4dda23d04f4f188d28eb213.tar
glibc-38791048930dfcf0a4dda23d04f4f188d28eb213.tar.gz
glibc-38791048930dfcf0a4dda23d04f4f188d28eb213.tar.bz2
glibc-38791048930dfcf0a4dda23d04f4f188d28eb213.zip
* sysdeps/pthread/pthread-functions.h (struct pthread_functions): Move
ptr___pthread_cond_timedwait to the end of the structure to avoid breaking Wine unnecessarily.
Diffstat (limited to 'linuxthreads/sysdeps')
-rw-r--r--linuxthreads/sysdeps/pthread/pthread-functions.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/linuxthreads/sysdeps/pthread/pthread-functions.h b/linuxthreads/sysdeps/pthread/pthread-functions.h
index e2d17f78c5..deade5c981 100644
--- a/linuxthreads/sysdeps/pthread/pthread-functions.h
+++ b/linuxthreads/sysdeps/pthread/pthread-functions.h
@@ -27,7 +27,8 @@
struct fork_block;
/* Data type shared with libc. The libc uses it to pass on calls to
- the thread functions. */
+ the thread functions. Wine pokes directly into this structure,
+ so if possible avoid breaking it and append new hooks to the end. */
struct pthread_functions
{
pid_t (*ptr_pthread_fork) (struct fork_block *);
@@ -54,8 +55,6 @@ struct pthread_functions
const pthread_condattr_t *);
int (*ptr___pthread_cond_signal) (pthread_cond_t *);
int (*ptr___pthread_cond_wait) (pthread_cond_t *, pthread_mutex_t *);
- int (*ptr___pthread_cond_timedwait) (pthread_cond_t *, pthread_mutex_t *,
- const struct timespec *);
int (*ptr_pthread_equal) (pthread_t, pthread_t);
void (*ptr___pthread_exit) (void *);
int (*ptr_pthread_getschedparam) (pthread_t, int *, struct sched_param *);
@@ -82,6 +81,8 @@ struct pthread_functions
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 *);
};
/* Variable in libc.so. */