This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Make Wine happy (was Re: struct pthread_functions change breaks Wine)


On Wed, Sep 10, 2003 at 02:25:45PM -0700, Alexandre Julliard wrote:
> Jakub Jelinek <jakub@redhat.com> writes:
> 
> > Do you use look just into linuxthreads' one or NPTL as well?
> > If just linuxthreads, I'd say we can move it, linuxthreads is dying.
> 
> Only for linuxthreads, we use the standard threading on NPTL.

Here is the patch.

2003-09-10  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/pthread/pthread-functions.h (struct pthread_functions): Move
	ptr___pthread_cond_timedwait to the end of the structure.

--- libc/linuxthreads/sysdeps/pthread/pthread-functions.h.jj	2003-09-02 03:08:55.000000000 -0400
+++ libc/linuxthreads/sysdeps/pthread/pthread-functions.h	2003-09-10 17:44:41.000000000 -0400
@@ -54,8 +54,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 +80,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.  */


	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]