> I am seeking detailed information regarding > the usage of callback functions in PalmOS > programming.
What you're really asking about is callbacks that are invoked by interrupt handlers. One example is the callback passed to SrmSetWakeupHandler. The docs for the callback (Reference, page 1382) say: IMPORTANT: Because wakeup handlers are called during interrupt time, they cannot call any Palm OS � system functions, including SrmReceive, that may block the system in any way. Wakeup handlers should also be very short so as to reduce interrupt latency. As Aaron said, there isn't much you _can_ do! Most callbacks in Palm OS aren't subject to these restrictions. For example, a callback used to display an item in a list or table can use most Palm OS APIs, but it shouldn't run its own event loop or draw out of the specified bounds. This is just common sense; I doubt it's documented anywhere. - Danny -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
