Subj : Re: pthread_kill strange error To : comp.programming.threads From : ptjm Date : Sun Jan 16 2005 04:24 pm In article <2f47c0e6.0407071054.30541db0@posting.google.com>, Emmanuel STAPF [ISE] wrote: % I'm running a Red Hat 7.2/7.3 and when I call `pthread_kill (thread_id, 9)' I % get an error code of `1' which does not match either EINVAL or ESRCH. What does % it mean? You should know that the pthread implementation in that version of the OS is not POSIX compliant, so you shouldn't be too surprised by unexpected return codes. Sending signal 9 to a thread is supposed to kill your entire process. To get rid of a single thread, you should use pthread_cancel. -- Patrick TJ McPhee North York Canada ptjm@interlog.com .