[PATCH] PR/12647: MinGW: Respect refcount in _Jv_CondWait

Mohan Embar gnustuff@thisiscool.com
Fri Oct 31 03:37:00 GMT 2003


Hi All,

>Mohan> I could go either way on this. pthread_mutex_init creates a
>Mohan> fast mutex on Linux by default, whereas Win32
>Mohan> InitializeCriticalSection() always creates a recursive
>Mohan> mutex. Part of me likes the simplicity of your solution, but
>Mohan> part of me says that by leaving the Windows code the way it is,
>Mohan> we could potentially more easily catch future errors in the
>Mohan> library which don't have matching _Jv_MutexLock /
>Mohan> _Jv_MutexUnlock calls.
>
>Either way is ok by me.  I think your patch as-is is fine.

I checked this in.

-- Mohan
http://www.thisiscool.com/
http://www.animalsong.org/





More information about the Java-patches mailing list