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(
   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