diff -r 4816d766a08a -r f345bda72bc4 Symbian3/PDK/Source/GUID-2D8093D7-58A8-59CD-96EF-5B0AAE029478.dita --- a/Symbian3/PDK/Source/GUID-2D8093D7-58A8-59CD-96EF-5B0AAE029478.dita Tue Mar 30 11:42:04 2010 +0100 +++ b/Symbian3/PDK/Source/GUID-2D8093D7-58A8-59CD-96EF-5B0AAE029478.dita Tue Mar 30 11:56:28 2010 +0100 @@ -1,18 +1,28 @@ - - - - - -Using Lock()

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.

\ No newline at end of file + + + + + +Using +Lock()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.

+
\ No newline at end of file