Blackberry programming - Timer class
The BlackBerry API documentation for the Timer class says:
This class does not offer real-time guarantees: it schedules tasks using the Object.wait(lo开发者_开发百科ng) method.
What does this mean?
It means when you schedule a timer task, the task will start executing no sooner than the requested start time, but could start later, and the amount of time later has no bound.
A real-time guarantee would give a bound on the maximum amount of time that elapses before execution starts.
精彩评论