Callbacks from the IrDA stack are not preemptive. IAS callbacks operate the
same as all the other IrDA callbacks. They will generally be called inside
your call to EvtGetEvent. You could block the callback by not checking for
events, but you would not want to do that for long. I can't think of any
way to know if one is pending.
--- Gavin
>
>Subject: Are Ir callbacks pre-emptive
>From: Scott Dattalo <[EMAIL PROTECTED]>
>Date: Mon, 24 Jan 2000 14:41:24 -0600 (CST)
>X-Message-Number: 58
>
>
>In other words, at what point does an Ir callback that has been registered
>with IrBind get invoked? And would the IAS callback follow the same logic?
>Depending on the answer to this question, I have additional questions:
>
>If the callbacks are pre-emptive, are there ways to temporarily block them
>(in other words, I don't want to have to disconnect the Ir link just to
>block the call back)?
>
>If they're not pre-emptive, how could I determine if a callback is
>pending?
>
>I've been operating under the assumption that the callbacks are not
>
>preemptive. However if they are, it would answer a few of the anomolies
>(no they're not bugs :) ) I've experienced.
>
>Scott
---
For information on using the Palm Developer Forums, or to unsubscribe, please see
<http://www.palm.com/devzone/mailinglists.html>.