CorThreadSafetyOptions Enumeration

Specifies flags to select options for thread safety.

Syntax

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

Members

Member Description
MDThreadSafetyDefault Default value. Same as MDThreadSafetyOff.
MDThreadSafetyOff Indicates that a reader/writer lock cannot be set.
MDThreadSafetyOn Indicates that a reader/writer lock can be set.

Requirements

Platforms: See System Requirements.

Header: CorHdr.h

.NET Framework Versions: Available since 1.0

See also