help-hurd
[Top][All Lists]
Advanced

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

Re: Trying to.... It's amazing and it works!


From: Thomas Bushnell, BSG
Subject: Re: Trying to.... It's amazing and it works!
Date: 11 Jun 2002 20:04:07 -0700
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Manu Valderrama <cp46tan@hotpop.com> writes:

> This means that a port name can contain both receive and send right;
> when a send once right
> is needed, every send one right must have its own port name ( send
> once right is different ).
> Is this the idea ? I hope yes!

Yes, this is correct.

Note that send-once rights are different: they are always unique
names (which provides for a few important optimizations).

> In this case it would be more easy to allocate the port in this way (
> I have made it, and
> it has worked ) :
> 
> mach_port_allocate( mach_task_self(),
> MACH_PORT_RIGHT_RECEIVE|MACH_PORT_RIGHT_SEND,                 &receive_port
> );




reply via email to

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