The
set method delegates a timeout request to OMTimerManager.
SignatureRP_FRAMEWORK_DLL void set(OMTimeout* timeout);
Parameterstimeout
Specifies the timeout event to be delegated
to OMTimerManager
Notes- The set method is called by the schedTm method, defined
in omthread.h.
- The set method
first locks a mutex,
calls setRelativeDueTime to
set the due time for the timeout based on the current value of m_Time,
then adds the timeout to the timeout heap.
- After
the set operation is completed,
the heap contains a list of requested timeouts, with the first timeout
request in the heap scheduled to occur next.