> 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/