This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: phread_join problem
- From: "Jerry D. Hedden" <jerry at hedden dot us>
- To: cygwin at cygwin dot com
- Date: Thu, 16 Mar 2006 06:45:37 -0700
- Subject: RE: phread_join problem
> 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/