help-hurd
[Top][All Lists]
Advanced

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

Re: Mach port rights


From: Marcus Brinkmann
Subject: Re: Mach port rights
Date: Tue, 17 Jul 2001 02:12:48 +0200
User-agent: Mutt/1.2i

On Tue, Jul 17, 2001 at 01:58:47AM +0200, Wolfgang wrote:
> Hi!
> 
> Where can I find more information on these port rights?
> 
> #define MACH_PORT_RIGHT_PORT_SET        ((mach_port_right_t) 3)
> #define MACH_PORT_RIGHT_DEAD_NAME       ((mach_port_right_t) 4)
> #define MACH_PORT_RIGHT_NUMBER          ((mach_port_right_t) 5)
> 
> I know what SEND, RECEIVE and SEND_ONCE are, but I wonder what these
> others are.

A port set is a set of ports.  It is useful to combine ports into a port
set if you just want the next message on any of the ports you have a receive
right for.  In the Hurd, we use port classes and buckets provided by libports,
though.

A send or send-once right is turned into a dead name when the receive right
is destroyed, and thus the port.  It is a placeholder, the port right can not
actually be used anymore.

I don't know about port right number.

> (I guess I could find this in the OSF documents... but I can't download
> them, the server is always very slow or unreachable. Are there any
> mirrors?)

google search for kernel_interface.ps.  For you, this should be convenient:

fpt.inf.tu-dresden.de/operating_systems/mach/cmu/doc/osf/

I recommend kernel_interface.ps, kernel_principles.ps, server_writing.ps
and server_writer.ps

Marcus




reply via email to

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