Further loader/pthread.c issues

Gerald Pfeifer gerald at pfeifer.com
Sun Nov 9 04:15:43 CST 2003


After last night's changes to loader/pthread.c,v

  revision 1.2
  date: 2003/11/09 01:25:23;  author: julliard;  state: Exp;  lines: +67 -11
  Moved the remaining SYSDEPS_* functions to the wine_pthread interface.
  Let the pthread library allocate the stack itself.

we have a new portability problem, namely

  wine/loader/pthread.c:97: undefined reference to `pthread_getattr_np'

Given that loader/pthread.c is about POSIX threads, is it really
correct/good to use a non-POSIX function?

Gerald

PS: On FreeBSD, pthread_getattr_np does not exist, but there is a function
pthread_attr_get_np which seems to be equivalent. On Solaris, neither seems
to exist.



More information about the wine-devel mailing list