Udostępnij za pośrednictwem


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: See .NET Framework System Requirements.

Header: MSCorEE.h

Library: MSCorEE.dll

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0

See Also

Other Resources

Hosting Enumerations