2002-02-01 Adam Megacz <adam@xwt.org>
authormegacz <megacz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 2 Feb 2002 04:27:34 +0000 (04:27 +0000)
committermegacz <megacz@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 2 Feb 2002 04:27:34 +0000 (04:27 +0000)
commit301c7afa4e3db5492a2ea52463e03bb315897d32
treeb45c54ba65df5ae1f0bd56edb59f62779c6eaeb3
parent3826359b2a32288a145c26a8431070237ac9e443
2002-02-01  Adam Megacz <adam@xwt.org>

        * include/win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to
enable safer wait() algorithm.
(_Jv_CondWait, _Jv_CondInit, _Jv_CondDestroy, _Jv_CondNotify,
_Jv_CondNotifyAll): Implementations moved to win32-threads.cc.
(_Jv_MutexInit, _Jv_HaveMutexDestroy, _Jv_MutexUnlock,
_Jv_MutexLock, _Jv_ThreadYield): Reimplement using CRITICAL_SECTIONs
instead of mutex.
(_Jv_ThreadYield): Don't call Sleep(), because it crashes win98.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49427 138bc75d-0d04-0410-961f-82ee72b054a4
libjava/ChangeLog
libjava/include/win32-threads.h