Freigeben über


MALLOC_TYPE Enumeration

Contains values that specify the characteristics of the memory that is being allocated.

typedef enum {
    MALLOC_THREADSAFE = 0x1,
    MALLOC_EXECUTABLE = 0x2,
} MALLOC_TYPE;

Members

Member

Description

MALLOC_EXECUTABLE

The allocated memory can contain an executable file.

MALLOC_THREADSAFE

The allocated memory is thread-safe. That is, the memory can be accessed by multiple threads without any synchronization.

If this flag is not set, calls on the object must be serialized.

Requirements

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

Header: MSCorEE.idl

Library: MSCorEE.dll

.NET Framework Version: 2.0

See Also

Concepts

Hosting Enumerations