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.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.