Share via


IExecutionContext::Dispatch Method

The method that is called when a thread proxy starts executing a particular execution context. This should be the main worker routine for your scheduler.

virtual void Dispatch(
   _Inout_ DispatchState * pDispatchState
) =0;

Parameters

  • pDispatchState
    A pointer to the state under which this execution context is being dispatched. For more information on dispatch state, see DispatchState.

Requirements

Header: concrtrm.h

Namespace: concurrency

See Also

Reference

IExecutionContext Structure