> I am re-posting this issue because it is critical to my app, and
> seems like a very relevant issue for this forum.  I searched the
> archives and did not find an answer.

during an ISR (interrupt service request) you cannot use any API
that will require the use of a memory semaphore. thats the biggest
rule there is. this means, no Ftr* calls, nada..

> I want to call TimGetTicks() from my wakeup handler routine (the
> function set in the call to SerSetWakeupHandler(), or
SrmSetWakeupHandler()
> for the new serial interface).

TimGetTicks() should actually just poke with the timer controller of
the unit, so, its probably not one of the serious API's that will cause
problems from within your callback.

the options are:

a) access timer info directly from hardware
   (pain in backside, different hardware, different address)

b) try with the API, if it works, it works. if not, find another method

you should also be in-and-out of your handlers as quick as possible.

---
Aaron Ardiri                           [EMAIL PROTECTED]
CEO - CTO                                              +46 70 656 1143
Mobile Wizardry                         http://www.mobilewizardry.com/


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

Reply via email to