Share via


CorThreadSafetyOptions Enumeration

Specifies flags to select options for thread safety.

typedef enum CorThreadSafetyOptions {
    MDThreadSafetyDefault       = 0x00000000,
    MDThreadSafetyOff           = 0x00000000,
    MDThreadSafetyOn            = 0x00000001,
} CorThreadSafetyOptions;

Members

Member

Description

MDThreadSatetyDefault

Default value. Same as MDThreadSatetyOff.

MDThreadSatetyOff

Indicates that a reader/writer lock cannot be set.

MDThreadSatetyOn

Indicates that a reader/writer lock can be set.

Requirements

Platforms: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorHdr.h

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

Metadata Enumerations