How to block an API call without blocking server message loop?

Valery V. Sedletski _valerius at mail.ru
Tue Apr 5 05:58:52 CEST 2011


On Tue, 05 Apr 2011 16:45:12 +1300 (MSD), Valery V. Sedletski wrote:

>
>But how can I tell DICE to not immediately answer the 1st task? -- I checked my IDL methods, and see one of them having the 
>
>short *dice_reply;
>
>parameter. -- I found that if it is equal to DICE_REPLY, then the server loop calls marshal function and replies to the client. But if it is
>equal to the DICE_NEVER_REPLY, then it doesn't reply. -- Maybe, I can use this feature, but how to force DICE to generate such a 
>parameter? -- My other IDL methods haven't one... Can I specify some attribute to the method?
>

ah, found why -- I that IDL method had the [allow_reply_only] attribute..

But is that the correct means to cause DICE to not answer?

WBR,
valery






More information about the l4-hackers mailing list