diff -r ebc84c812384 -r 46218c8b8afa Symbian3/PDK/Source/GUID-0422EDC4-E17C-5E58-BB37-03CCA79ED3E9.dita --- a/Symbian3/PDK/Source/GUID-0422EDC4-E17C-5E58-BB37-03CCA79ED3E9.dita Thu Mar 11 15:24:26 2010 +0000 +++ b/Symbian3/PDK/Source/GUID-0422EDC4-E17C-5E58-BB37-03CCA79ED3E9.dita Thu Mar 11 18:02:22 2010 +0000 @@ -1,14 +1,14 @@ - - - - - -How to wait for a given time period

Once the timer has been created and initialised, a request can be set up.

In the following example, the thread is suspended for a 1 second. timerStatus is a TRequestStatus.

timer.After(timerStatus,1000000); -User::WaitForRequest(timerStatus); + + + + + +How to wait for a given time period

Once the timer has been created and initialised, a request can be set up.

  • start the timer to complete after a set period by calling After(), passing the required period in microseconds

  • call User::WaitForRequest() to wait for completion

In the following example, the thread is suspended for a 1 second. timerStatus is a TRequestStatus.

timer.After(timerStatus,1000000); +User::WaitForRequest(timerStatus);
\ No newline at end of file