Microsoft Windows CE 3.0  

CBaseReferenceClock::TriggerThread

Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Triggers the advise thread's event.

void TriggerThread( );

Return Values

No return value.

Remarks

The clock uses a worker thread that should wake up and call CAMSchedule::Adviseat the appropriate time. If the clock adds an event that should be fired earlier than any currently outstanding event, the worker thread needs to be awoken in order to reevaluate its wait time. The TriggerThreadmember function will wake up the worker thread so this can take place. If a derived clock causes time to jump forward for some reason, TriggerThreadshould be called so that the wait time can be reevaluated; otherwise, the events will fire late.