Quote Originally Posted by orion242 View Post
...In a RTOS, timers can just hold a static count based on "system time” when an event was triggered (sys time is copied into them).
public static Clock.Ticket Clock.schedule ( BComponent target, BRelTime time, Action action, BValue arg)

Schedule an single action at the specified relative time from now. This action is scheduled independently of changes to the system clock.
BComponent target - BComponent to invoke the action upon.
BRelTime time - relative time from now to invoke the action.
Action action - the action to invoke on this schedule's component.
BValue arg - argument to pass to the action or null if no argument is required.
Ticket instance which may be used to cancel the scheduled action.
IllegalArgumentException - if time less than or equal to zero.