From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9871 invoked by alias); 29 Aug 2003 21:00:38 -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 9863 invoked from network); 29 Aug 2003 21:00:36 -0000 Received: from unknown (HELO sj-ex-02.xambala.local) (216.100.141.196) by sources.redhat.com with SMTP; 29 Aug 2003 21:00:36 -0000 Subject: pthread_mutex_lock leaking memory? Date: Fri, 29 Aug 2003 21:00:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-ID: <45EC781FB567314B862CEA4CC72ABF0C05974C@sj-ex-02.xambala.local> Content-Transfer-Encoding: quoted-printable X-MS-Has-Attach: X-MS-TNEF-Correlator: content-class: urn:content-classes:message X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 From: "phuong nguyen" To: X-SW-Source: 2003/txt/msg00079.txt.bz2 Hi I'm using 5-10-03 snapshot of pthread-win32 with MSVC 6.0 SP5. It seems that when I init a mutex with PTHREAD_MUTEX_INITIALIZER, it would leaks 44 bytes of memory when ever I do a lock on the mutex. Any one else encounter the same problem? Rational Purify trace the leak back to pthread_setcanceltype. Phuong