Re: phread_join problem

2006-03-16 Thread Artem Alimarine
Jerry D. Hedden wrote: > You can't join to a cancelled thread. Cannot you? From reading the posix thread documentation I have an impression that you can. See for instance http://www.opengroup.org/onlinepubs/009695399/functions/pthread_join.html It says: > The pthread_join() or pthread_deta

RE: phread_join problem

2006-03-16 Thread Jerry D. Hedden
> 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/prob