RTimer
The following example code demonstrates how to set up an
RTimer
.
Create the RTimer
object
Call CreateLocal()
on the timer object
Provide a TRequestStatus
request.
RTimer timer;
TRequestStatus timerStatus; // request status associated with timer
timer.CreateLocal(); // create for this thread
The timer is always thread-relative.