[kaffe] _POSIX_THREAD_PROCESS_SHARED

Ito Kazumitsu kaz at maczuka.gcd.org
Sun Jul 11 17:32:39 PDT 2004


Hi,

I have just commited a patch to
    kaffe/kaffevm/systems/unix-pthreads/lock-impl.h,

changing

   if defined(_POSIX_THREAD_PROCESS_SHARED)

to
   if defined(_POSIX_THREAD_PROCESS_SHARED) && _POSIX_THREAD_PROCESS_SHARED != -1

This patch was necessary becuase FreeBSD 5.1-RELEASE explicitly defines

#define _POSIX_THREAD_PROCESS_SHARED    -1

meaning that the process-shared  synchronization option is
not supported.




More information about the kaffe mailing list