[kaffe] _POSIX_THREAD_PROCESS_SHARED

Dalibor Topic robilad at kaffe.org
Sun Jul 11 17:39:34 PDT 2004


Ito Kazumitsu wrote:
> 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.

Thanks a lot for catching that one, Ito!

cheers,
dalibor topic,
rasyncing with classpath atm :)




More information about the kaffe mailing list