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:50:33 -0400

On Fri, 2006-04-28 at 01:26 +0200, Pierre THIERRY wrote:
> Scribit Jonathan S. Shapiro dies 27/04/2006 hora 19:12:
> > > >    {
> > > >         if (discrim.classify(theCap) == ctInvalid
> > > >            return ctInvalid;
> > > >         else
> > > >            return theCap.getType();
> > > >    }
> > > 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.
> 
> You said previously that theCap.getType() would invoke the cap.

Yes. That is why the discrim.safeGetType() operation is the preferred
one to use in practice.

shap





reply via email to

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