At 11:29 PM +0530 2001/12/26, Siddhesh wrote:
>is there any way by which i can trigger an event (or any other form of
>trigger mechanism) from the WakeupHandlerProc (after which the handler would
>return immediately and safely) and handle that event in some other function
>of the shared library?

You could put the data in an interrupt-safe queue owned by your shared library, then 
using some other form of intermediate service routine such as a SysHandleEvent patch 
to process the data from that queue at a time when it's safe to do things like store 
database records. The difficult part is going to be processing the data regardless of 
what app is currently active... the Palm OS isn't currently designed for that sort of 
thing. You'll have to be very "creative" in that department.

Regards,

Jim Schram
Palm Incorporated
Partner Engineering


-- 
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