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