From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16793 invoked by alias); 12 Nov 2004 16:51:14 -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 16773 invoked from network); 12 Nov 2004 16:51:09 -0000 Received: from unknown (HELO crossys.com) (80.98.38.32) by sourceware.org with SMTP; 12 Nov 2004 16:51:09 -0000 Received: from Kereszt by crossys.com with local (Exim 4.32) id I72S4T-0002OK-RB for pthreads-win32@sources.redhat.com; Fri, 12 Nov 2004 17:50:54 +0100 Date: Fri, 12 Nov 2004 16:51:00 -0000 From: Kereszt@crossys.com To: pthreads-win32@sources.redhat.com Subject: pthread_exit() does not call the cleanups Message-ID: <20041112165053.GD2444@cross> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline User-Agent: Mutt/1.4.1i X-SW-Source: 2004/txt/msg00139.txt.bz2 Hello, I've found that with pthread-win32 the pthread_exit() does not call the previously pushed (pthread_cleanup_push()) cleanup routines. I've just tried it on a linux box and it works as documented (does the call). I'm a bit newbie to pthread so it might be my fault. I've attached a little sample code which reproduces the problem. Please, tell me what's the deal! Thanks, Laszlo