开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜