Partager via


concurrency namespace enums

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

Agents_EventType Enumeration ConcRT_EventType Enumeration Concrt_TraceFlags Enumeration
CriticalRegionType Enumeration DynamicProgressFeedbackType Enumeration PolicyElementKey Enumeration
SchedulerType Enumeration SchedulingProtocolType Enumeration SwitchingProxyState Enumeration
WinRTInitializationType Enumeration agent_status Enumeration join_type Enumeration
message_status Enumeration task_group_status Enumeration

agent_status Enumeration

The valid states for an agent.

enum agent_status;

Remarks

For more information, see Asynchronous Agents.

Agents_EventType Enumeration

The types of events that can be traced using the tracing functionality offered by the Agents Library

enum Agents_EventType;

ConcRT_EventType Enumeration

The types of events that can be traced using the tracing functionality offered by the Concurrency Runtime.

enum ConcRT_EventType;

Concrt_TraceFlags Enumeration

Trace flags for the event types

enum Concrt_TraceFlags;

CriticalRegionType Enumeration

The type of critical region a context is inside.

enum CriticalRegionType;

DynamicProgressFeedbackType Enumeration

Used by the DynamicProgressFeedback policy to describe whether resources for the scheduler will be rebalanced according to statistical information gathered from the scheduler or only based on virtual processors going in and out of the idle state through calls to the Activate and Deactivate methods on the IVirtualProcessorRoot interface. For more information on available scheduler policies, see PolicyElementKey Enumeration.

enum DynamicProgressFeedbackType;

join_type Enumeration

The type of a join messaging block.

enum join_type;

message_status Enumeration

The valid responses for an offer of a message object to a block.

enum message_status;

PolicyElementKey Enumeration

Policy keys describing aspects of scheduler behavior. Each policy element is described by a key-value pair. For more information about scheduler policies and their impact on schedulers, see Task Scheduler.

enum PolicyElementKey;

SchedulerType Enumeration

Used by the SchedulerKind policy to describe the type of threads that the scheduler should utilize for underlying execution contexts. For more information on available scheduler policies, see PolicyElementKey Enumeration.

enum SchedulerType;

SchedulingProtocolType Enumeration

Used by the SchedulingProtocol policy to describe which scheduling algorithm will be utilized for the scheduler. For more information on available scheduler policies, see PolicyElementKey Enumeration.

enum SchedulingProtocolType;

SwitchingProxyState Enumeration

Used to denote the state a thread proxy is in, when it is executing a cooperative context switch to a different thread proxy.

enum SwitchingProxyState;

Remarks

A parameter of type SwitchingProxyState is passed in to the method IThreadProxy::SwitchTo to instruct the Resource Manager how to treat the thread proxy that is making the call.

For more information on how this type is used, see IThreadProxy::SwitchTo.

task_group_status Enumeration

Describes the execution status of a task_group or structured_task_group object. A value of this type is returned by numerous methods that wait on tasks scheduled to a task group to complete.

enum task_group_status;

WinRTInitializationType Enumeration

Used by the WinRTInitialization policy to describe whether and how the Windows Runtime will be initialized on scheduler threads for an application which runs on operating systems with version Windows 8 or higher. For more information on available scheduler policies, see PolicyElementKey Enumeration.

enum WinRTInitializationType;

See Also

concurrency Namespace