Subj : Re: I write a multithread program with pthread, and meet a program To : comp.programming.threads From : icoming Date : Mon Apr 11 2005 09:43 am Thank you. But I am still surprised that the new thread can not be stopped correctly. cout may be a cancellation point or not. Theoritically, if cout is not a cancellation point, the new thread will continue to run when the main thread call pthread_cancel(); if it is cancellation point, the new thread will be stopped. But as a matter of fact, the new thread does not run and is not stopped. In linux, the new thread will be a zombie. What I want to know is why. .