Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [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);