l4-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: thread ids, task ids and subsystems


From: Niels Möller
Subject: Re: thread ids, task ids and subsystems
Date: 07 Apr 2003 17:20:06 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Marcus Brinkmann <address@hidden> writes:

> Let us say that this belongs into its own interface, and I agree.  If there
> should be two distinct server processes, or one process implementing two
> interfaces, that is something I am contemplating.

That sounds perfectly reasonably to me. That should make it possible,
for instance, for one user process to use the system's task-and-proc
server for the task-interface, and at the same time use its own custom
proc server.

> But it means that proc needs to get a list of all tasks to be able to show
> them in ps.

My mental model is that unregistered tasks always "belong" to some
process (by the automatic inheritance of the "accounting id" in the
task server). When a process dies, all unregistered tasks belonging to
it will be automatically killed as well (by a single call to the task
server). Then the proc server doesn't need to know anything about the
individual unregistered tasks, just like it doesn't need to know about
individual threads.

But I guess that's quite different from how the current proc deals
with unregistered tasks.

Regards,
/Niels




reply via email to

[Prev in Thread] Current Thread [Next in Thread]