DragonFly BSD
DragonFly kernel List (threaded) for 2004-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: CAPS question


From: Chris Pressey <cpressey@xxxxxxxxxxxxxxx>
Date: Wed, 26 May 2004 12:40:29 -0700

On Wed, 26 May 2004 12:11:26 -0700
Chris Pressey <cpressey@xxxxxxxxxxxxxxx> wrote:

> Alternatively, is there a way to
> check beforehand that a dispose message will (or won't) be arriving? 
> Or a way to code a service so that it doesn't have to worry about
> them?

D'oh, of course there is - every time the service does a
caps_sys_wait(), check to see if it was a CAPMS_DISPOSE message, and if
so, accept it and loop back for another caps_sys_wait().

Sorry for the noise (can you tell Erlang has completely spoiled me? :)

-Chris



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