From a0f68376397a4e73894da71deef9ab085269da45 Mon Sep 17 00:00:00 2001 From: membar Date: Sat, 11 Sep 2004 19:13:51 +0000 Subject: PR libgcj/14751 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread handle in newly-allocated _Jv_Thread_t. (_Jv_ThreadDestroyData): Close thread handle. (_Jv_ThreadStart): Remove obsolete comment. Store handle of newly-created thread in _Jv_Thread_t. * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN before including #define _Jv_HaveCondDestroy git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87362 138bc75d-0d04-0410-961f-82ee72b054a4 --- libjava/include/win32-threads.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libjava/include') diff --git a/libjava/include/win32-threads.h b/libjava/include/win32-threads.h index fdd21c541b4..ba9def10d68 100644 --- a/libjava/include/win32-threads.h +++ b/libjava/include/win32-threads.h @@ -13,6 +13,7 @@ details. */ #ifndef __JV_WIN32_THREADS__ #define __JV_WIN32_THREADS__ +#define WIN32_LEAN_AND_MEAN #include // @@ -75,6 +76,7 @@ typedef void _Jv_ThreadStartFunc (java::lang::Thread *); // Condition variables. // +#define _Jv_HaveCondDestroy int _Jv_CondWait (_Jv_ConditionVariable_t *cv, _Jv_Mutex_t *mu, jlong millis, jint nanos); void _Jv_CondInit (_Jv_ConditionVariable_t *cv); void _Jv_CondDestroy (_Jv_ConditionVariable_t *cv); -- cgit v1.2.3