In reply to caowangyang:
OK, I can see how that might be confusing confusing. What I was trying to say there as disable fork only kills the direct children of the process containing the the disable fork, which in turn kills of all the descendants of those threads. In that particular comment you linked to, the direct child processes were already terminated. The disable fork does not try to find the descendent processes - it only goes after the immediate children, so the grandchildren are left alone.