Scheduler::RegisterShutdownEvent Method
Causes the Windows event handle passed in the _Event parameter to be signaled when the scheduler shuts down and destroys itself. At the time the event is signaled, all work that had been scheduled to the scheduler is complete. Multiple shutdown events may be registered through this method.
virtual void RegisterShutdownEvent(
HANDLE _Event
) =0;
Parameters
- _Event
A handle to a Windows event object which will be signaled by the runtime when the scheduler shuts down and destroys itself.
Requirements
Header: concrt.h
Namespace: Concurrency