3ba Subj : Re: Help! pthread_cancel causes problem To : comp.programming.threads From : David Hopwood Date : Sat Sep 03 2005 03:09 am Jessie wrote: > Hi David, > > Thanks for your information. I am just wondering why this "application > error" only happens on Redhat 3 but not on Redhat 9. > > The thread is in a while loop and do the select() action. If select() > is interrupted by signal, the thread will do something. If select() > detects the connection is closed by client, the thread will exit. I use > try/catch outside the while loop. I have not set cancellation type. The > cancellation mode is default. Read the bug report again, all of it. It explains why the behaviour is different in RH9, and why the cancellation mode may be changed even if the application does not explicitly set it. -- David Hopwood . 0