Explains how to use timers to suspend a thread 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);
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.