diff -r 000000000000 -r 89d6a7a84779 Symbian3/SDK/Source/GUID-EA6965FB-5BB6-5110-9A16-B5403E1983D4.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-EA6965FB-5BB6-5110-9A16-B5403E1983D4.dita Thu Jan 21 18:18:20 2010 +0000 @@ -0,0 +1,23 @@ + + + + + +How to wait for a given time

Use the At() function to set the timer to complete at a specific time.

The following example suspends the thread until the current time plus ten seconds.

+// get current time (microseconds since 0AD nominal Gregorian) +TTime time; +time.HomeTime(); + +// add ten seconds to the time +TTimeIntervalSeconds timeIntervalSeconds(10); +time += timeIntervalSeconds; + +// issue and wait +timer.At(timerStatus,time); +User::WaitForRequest(timerStatus);
\ No newline at end of file