[Bug libgcj/14751] [win32] thread creation leaks system handle resources
cvs-commit at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Sep 11 19:14:00 GMT 2004
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2004-09-11 19:14 -------
Subject: Bug 14751
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: membar@gcc.gnu.org 2004-09-11 19:13:51
Modified files:
libjava : ChangeLog win32-threads.cc
libjava/include: win32-threads.h
Log message:
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 <windows.h>
#define _Jv_HaveCondDestroy
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.3050&r2=1.3051
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/win32-threads.cc.diff?cvsroot=gcc&r1=1.11&r2=1.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libjava/include/win32-threads.h.diff?cvsroot=gcc&r1=1.9&r2=1.10
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14751
More information about the Java-prs
mailing list