Skip to content

Latest commit

 

History

History
79 lines (52 loc) · 2.68 KB

dispatchstate-structure.md

File metadata and controls

79 lines (52 loc) · 2.68 KB
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: DispatchState Structure
DispatchState Structure
11/04/2016
DispatchState
CONCRTRM/concurrency::DispatchState
CONCRTRM/concurrency::DispatchState::DispatchState::DispatchState
CONCRTRM/concurrency::DispatchState::DispatchState::m_dispatchStateSize
CONCRTRM/concurrency::DispatchState::DispatchState::m_fIsPreviousContextAsynchronouslyBlocked
CONCRTRM/concurrency::DispatchState::DispatchState::m_reserved
DispatchState structure
8c52546e-1650-48a0-985f-7e4a0fc26a90

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.

Syntax

struct DispatchState;

Members

Public Constructors

Name Description
DispatchState::DispatchState Constructs a new DispatchState object.

Public Data Members

Name Description
DispatchState::m_dispatchStateSize Size of this structure, which is used for versioning.
DispatchState::m_fIsPreviousContextAsynchronouslyBlocked 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 Bits reserved for future information passing.

Inheritance Hierarchy

DispatchState

Requirements

Header: concrtrm.h

Namespace: concurrency

DispatchState::DispatchState Constructor

Constructs a new DispatchState object.

DispatchState();

DispatchState::m_dispatchStateSize Data Member

Size of this structure, which is used for versioning.

unsigned long m_dispatchStateSize;

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.

unsigned int m_fIsPreviousContextAsynchronouslyBlocked : 1;

DispatchState::m_reserved Data Member

Bits reserved for future information passing.

unsigned int m_reserved : 31;

See also

concurrency Namespace