แก้ไข

แชร์ผ่าน


MALLOC_TYPE Enumeration

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

Syntax

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 System Requirements.

Header: MSCorEE.h

Library: MSCorEE.dll

.NET Framework Versions: Available since 2.0

See also