DispatchState Structure
TOC
Collapse the table of content
Expand the table of content

DispatchState Structure

 

The DispatchState structure is used to transfer state to the IExecutionContext::Dispatch method. It describes the circumstances under which the Dispatch method is invoked on an IExecutionContext interface.

struct DispatchState;

Name

Description

DispatchState::DispatchState Constructor

Constructs a new DispatchState object.

Name

Description

DispatchState::m_dispatchStateSize Data Member

Size of this structure, which is used for versioning.

DispatchState::m_fIsPreviousContextAsynchronouslyBlocked Data Member

Tells whether this context has entered the Dispatch method because the previous context asynchronously blocked. This is used only on the UMS scheduling context, and is set to the value 0 for all other execution contexts.

DispatchState::m_reserved Data Member

Bits reserved for future information passing.

Requirements

Header: concrtrm.h

Namespace: concurrency

Show:
© 2016 Microsoft