There is nothing that can do that directly...
You can register for the sysNotifyEventDequeuedEvent notification (OS 5
only) and check the tick count periodically.
Not 100% reliable as it requires the system to be sending events
frequently, and you only have the resolutions of the System Tick counter
(100/sec I believe)
Oswaldo Hernández wrote:
John Sutton escribió:
Oswaldo,
Read up on the alarm manager, the function you'll want is AlmSetAlarm
Regards
John
Tanks John, but AlmSetAlarm works in seconds, i need more precision,
preferably miliseconds.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Oswaldo
Hernández
Sent: 16 November 2006 11:09
To: Palm Developer Forum
Subject: Timer
Hello,
I'm searching for a timer function and i don't find it.
I need a simple function that register a timer and, when the time
expire, send and event or execute a callback.
Exists it? or, may i create my own timer function using the main loop?
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/