l4-hurd
[Top][All Lists]
Advanced

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

Re: Cancellation forwarding protocol (was Re: Reliability of RPC service


From: Jonathan S. Shapiro
Subject: Re: Cancellation forwarding protocol (was Re: Reliability of RPC services)
Date: Thu, 27 Apr 2006 19:12:44 -0400

On Fri, 2006-04-28 at 00:38 +0200, Pierre THIERRY wrote:
> Scribit Jonathan S. Shapiro dies 27/04/2006 hora 16:06:
> > This case is so universal that there will be a safeGetType() method on
> > the discrim interface. Discrim.safeGetType() will perform:
> > 
> >    {
> >     if (discrim.classify(theCap) == ctInvalid
> >            return ctInvalid;
> >         else
> >            return theCap.getType();
> >    }
> > 
> > This is actually implemented at the library level, and I had forgotten
> > about it.
> > 
> > Does this help?
> 
> In which case should this be used? When theCap is not send-once?

This is the version to use when you want the cap type without any risk
of triggering a send once cap. In practice, it is the one that you
should always use.

shap





reply via email to

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