Martin v. Löwis wrote: > Uwe Schmitt wrote: > >> But what if I want to end a thread which hangs because >> it uses 'exec' on some code which loops forever ? > > > You lose. There is no way to cancel a thread, period. > Can't you cheat on linux by sending SIGKILL to the thread's PID?? ;-) Irmen