Re: process groups and session ids.

Alexander Kjeldaas (astor@guardian.no)
Wed, 18 Mar 1998 12:22:07 +0100


On Wed, Mar 18, 1998 at 12:00:56PM +0100, Andreas Schwab wrote:
> Alexander Kjeldaas <astor@guardian.no> writes:
>
> |> Can a process have a process group or a session id that doesn't
> |> correspond to an existing process?
>
> Yes, the session or process group leader may have died already. For
> example, you can put a process in the background and then log out, or the
> process group leader could have been the head of a pipe, but the consumer
> didn't finish yet processing the input even after it received EOF from the
> pipe.
>

That's what I thought too. I'm therefore designing a feature that will
get this information fast. [And in the process remove most unneeded
for_each_tasks in the kernel (fork,exit,setsig etc)].

astor

-- 
 Alexander Kjeldaas, Guardian Networks AS, Trondheim, Norway
 http://www.guardian.no/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu