From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20421 invoked by alias); 18 Mar 2004 14:31:39 -0000 Mailing-List: contact pthreads-win32-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: pthreads-win32-owner@sources.redhat.com Received: (qmail 20412 invoked from network); 18 Mar 2004 14:31:37 -0000 Received: from unknown (HELO smtpcl1.fiducia.de) (195.200.32.50) by sources.redhat.com with SMTP; 18 Mar 2004 14:31:37 -0000 Received: from xcsmtp01.fiducia.de (xcsmtp01.fiducia.de [10.253.17.9]) by smtpcl1.fiducia.de with ESMTP id i2IEVZb11377 for ; Thu, 18 Mar 2004 15:31:35 +0100 (MET) Sensitivity: Subject: Memory leak using detaching over Thread-Attributes To: pthreads-win32@sources.redhat.com From: Rainer.Schiele@fiducia.de Date: Thu, 18 Mar 2004 14:31:00 -0000 Message-ID: MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-SW-Source: 2004/txt/msg00033.txt.bz2 Hello, I'm encounter an problem that an memory leak occur (and also the Windows Handles run out), when I detach an Thread with the Thread-Attributes on pthread_create using pthread_attr_init and pthread_setdetachstate. Using another approach creating an Thread with pthread_create (attr == NULL) and calls then pthread_detach on the Thread-ID no leak occur. I'm using Windows XP, MinGW-3.1.0-1, MSYS-1.0.9. Looking in the code i found nothing special. Any Hints? Thanks Rainer