Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



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);