From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15713 invoked by alias); 11 Sep 2004 19:14:04 -0000 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org Received: (qmail 15671 invoked by alias); 11 Sep 2004 19:14:03 -0000 Date: Sat, 11 Sep 2004 19:14:00 -0000 Message-ID: <20040911191403.15670.qmail@sourceware.org> From: "cvs-commit at gcc dot gnu dot org" To: java-prs@gcc.gnu.org In-Reply-To: <20040327125736.14751.alessandro.pepi@email.it> References: <20040327125736.14751.alessandro.pepi@email.it> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug libgcj/14751] [win32] thread creation leaks system handle resources X-Bugzilla-Reason: CC X-SW-Source: 2004-q3/txt/msg00467.txt.bz2 List-Id: ------- 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 #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