l4-hurd
[Top][All Lists]
Advanced

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

Re: Hurd IPC


From: Marcus Brinkmann
Subject: Re: Hurd IPC
Date: Tue, 15 Oct 2002 17:53:01 +0200
User-agent: Mutt/1.4i

On Tue, Oct 15, 2002 at 04:46:34PM +0200, Ludovic Courtès wrote:
> On Tue, Oct 15, 2002 at 10:45:45AM -0400, Neal H. Walfield wrote:
> > On L4, a handle will be unique to a server which means that the client
> > must store both the server's communication thread id and the handle
> > id.  On Mach, a handle would be task local--it is just a normal port
> > managed by Mach.
> 
> On L4, shouldn't the client compute a locally unique id for a given server
> handle id? On the client side, this would imply translation of the local id
> into the server's handle id. Doing so, the client code would still just see an
> integer, the same as what we have when using ports or file descriptors.

This computation could be as easy as "(server_id << server_id_base) | handle id"

Thanks,
Marcus

-- 
`Rhubarb is no Egyptian god.' GNU      http://www.gnu.org    address@hidden
Marcus Brinkmann              The Hurd http://www.gnu.org/software/hurd/
address@hidden
http://www.marcus-brinkmann.de/




reply via email to

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