Wine repeated unhandled exptions

Ove Kaaven ovehk at ping.uio.no
Wed Sep 10 14:11:57 CDT 2003


On Wed, 2003-09-10 at 17:31, Rein Klazes wrote:
> >From the changelist of glibc-2.3.2-6 there seems to be only one
> applicable item:
> 
> |     - debian/patches/pthread_cond_timedwait.dpatch: avoid problem when
> |        pthread_cond_timedwait is used in code that doesn't link with
> |        -lpthread.  (Closes: #209139)
> 
> Not that I understand that at all. Comments are welcome.

I've just got a bug report on it (#210300) so I've taken a look. So,
this pthread_cond_timedwait.dpatch contains:

--- libc/linuxthreads/sysdeps/pthread/pthread-functions.h.jj   2003-04-20 03:37:06.000000000 -0400
+++ libc/linuxthreads/sysdeps/pthread/pthread-functions.h      2003-09-01 05:35:34.000000000 -0400
@@ -54,6 +54,8 @@ 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 *);

Compare with Wine's scheduler/pthread.c:

struct pthread_functions
{
 ...
  int (*ptr___pthread_cond_init) (pthread_cond_t *, 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_equal) (pthread_t, pthread_t);
  void (*ptr___pthread_exit) (void *);
  int (*ptr_pthread_getschedparam) (pthread_t, int *, struct sched_param *);
...
};

See the problem?

Hmm, now should I complain to Debian's glibc maintainers, or is this
Wine's problem?




More information about the wine-devel mailing list