From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13097 invoked by alias); 6 Mar 2005 08:54:46 -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 13070 invoked from network); 6 Mar 2005 08:54:40 -0000 Received: from unknown (HELO wproxy.gmail.com) (64.233.184.198) by sourceware.org with SMTP; 6 Mar 2005 08:54:40 -0000 Received: by wproxy.gmail.com with SMTP id 71so1055642wri for ; Sun, 06 Mar 2005 00:54:40 -0800 (PST) Received: by 10.54.79.8 with SMTP id c8mr81460wrb; Sun, 06 Mar 2005 00:54:40 -0800 (PST) Received: from h-195-22-249-215.mdl.net ([195.22.249.215]) by smtp.gmail.com with ESMTP id d8sm101495wra.2005.03.06.00.54.39; Sun, 06 Mar 2005 00:54:40 -0800 (PST) Date: Sun, 06 Mar 2005 08:54:00 -0000 From: Dmitrii Sernii Reply-To: Dmitrii Sernii Message-ID: <1335432268.20050306104111@gmail.com> To: pthreads-win32@sources.redhat.com Subject: Re: Handle leak when using pthread mutex with win32 api threads MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-SW-Source: 2005/txt/msg00025.txt.bz2 >> I've made small corrections in test sample, so now mutex initialised >> only once, and i've added pthread_mutex_destroy() function call. But >> the problem still remains. >> Here is two test applications - one of them uses API threads, and the >> other pthreads. Program with pthreads don't have any leaks, while >> program with API threads produces lots of them. >> RJ> Are you dynamic or static linking? If you're using the pthreads dll then RJ> there would seem to be a problem in the library. If you're static RJ> linking then read on ... I'm using pthreads dll. Best regards, Dmitrii Sernii