From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29614 invoked by alias); 16 Nov 2002 11:17:34 -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 29607 invoked from network); 16 Nov 2002 11:17:32 -0000 Received: from unknown (HELO web41110.mail.yahoo.com) (66.218.93.26) by sources.redhat.com with SMTP; 16 Nov 2002 11:17:32 -0000 Message-ID: <20021116111731.33951.qmail@web41110.mail.yahoo.com> Received: from [202.131.158.89] by web41110.mail.yahoo.com via HTTP; Sat, 16 Nov 2002 03:17:31 PST Date: Sat, 16 Nov 2002 03:17:00 -0000 From: pankaj bathwal Subject: pthread_cancel doesn't work To: pthreads-win32@sources.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2002/txt/msg00110.txt.bz2 Hi, I am trying to cancel a running thread. I an using "pthread_cancel" function. I have set cancel state as PTHREAD_CANCEL_ENABLE using function "pthread_setcancelstate" but execution of my thread does not stop. what's wrong?? Do I have to something more?? Can I have a sample code?? Thanks Pankaj __________________________________________________ Do you Yahoo!? Yahoo! Web Hosting - Let the expert host your site http://webhosting.yahoo.com