diff options
author | Adam Megacz <adam@xwt.org> | 2002-02-02 04:27:34 +0000 |
---|---|---|
committer | Adam Megacz <megacz@gcc.gnu.org> | 2002-02-02 04:27:34 +0000 |
commit | 8627cc158dc97db6469d7ca0099da712c1a37189 (patch) | |
tree | b45c54ba65df5ae1f0bd56edb59f62779c6eaeb3 /libjava/win32-threads.cc | |
parent | 7e57448e82dc78b2dde1684f4f33e06b77dc7dde (diff) | |
download | gcc-8627cc158dc97db6469d7ca0099da712c1a37189.zip gcc-8627cc158dc97db6469d7ca0099da712c1a37189.tar.gz gcc-8627cc158dc97db6469d7ca0099da712c1a37189.tar.bz2 |
win32-threads.h (_Jv_ConditionVariable_t): Now a struct, to enable safer wait() algorithm.
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.
From-SVN: r49427
Diffstat (limited to 'libjava/win32-threads.cc')
0 files changed, 0 insertions, 0 deletions