Eli Mandel wrote:
> 
> I have implemented my serial communications handler as a
> WakeupHandlerProc()
> to be triggerred upon detecting an incoming byte.

The SDK docs say:

"Because wakeup handlers are called during interrupt time, they cannot call
ANY Palm OS� system functions that may block the system in any way. Wakeup
handlers should also be very short so as to reduce interrupt latency."

AlmSetProcAlarm() isn't documented to be callable from a WakeupHandlerProc.
Better call EvtWakeup() from the WakeupHandlerProc and wait for the
nilEvent handler to call AlmSetProcAlarm.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to