Explains how to use the Lock()
function to delay
the events.
We can ask for a timer event to occur at a particular twelfth in the next
second using the Lock()
function.
... TRequestStatus stat; TTimerLockSpec lockspec; RTimer timer; ... timer.Lock(lockspec,stat) ...
The current time is A seconds + B milliseconds, then
Lock(EThreeOclock, stat);
will complete at C seconds + 3/12 milliseconds, where C=A, if B<3/12milliseconds or C=A+1.