X-Spam-Check-By: sourceware.org Date: Thu, 16 Mar 2006 06:45:37 -0700 From: "Jerry D. Hedden" Subject: RE: phread_join problem To: cygwin AT cygwin DOT com Message-ID: <20060316064537.fb30e530d17747c2b054d625b8945d88.f9ec0c655e.wbe@email.email.secureserver.net> MIME-Version: 1.0 Content-Type: TEXT/plain; CHARSET=US-ASCII X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com > res = pthread_cancel(the_handle); > assert(res == 0); > cout << "cancelled, joining\n"; > res = pthread_join(the_handle, NULL); You can't join to a cancelled thread. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/