10 May
2006
10 May
'06
3:18 a.m.
What is the intent of the pthread_kill() in rl_free_entry()? AFAICT, child_pid is not in fact a *child* pid, it's a thread id. And in fact, in order for pthread_kill() to work at all, this *must* be the case. So the reason for my question is that sending SIGKILL to any thread in the process does NOT terminate that thread, it terminates the entire process. The only way to force a [POSIX] thread to terminate is to use cancellation, which is complex and would require significant updates to all modules if the intent of this code is to abort any current processing "now"-ish. -frank