Synopsis

PDX_MSGT mda_AllocateEntityList2(long option, int num_threads, int model, MDA_ENTITY_LIST **list)

Purpose

Allocate entity list in the specified model.

Description

An entity list will be allocated in the specified model. The num_threads argument specifies how many list heads should be allocated. An entity list will have the same storage requirements regardless of the number of threads. Each entity in the model can only exist in one thread of the list. All of the entities in an entity list must be defined in the same model (which is the specified model when this function is called).

Input

option

Options (not used)

num_threads

Number of threads in list

model

Model number

Output

list

The structure to use when refering to this list

Return

MDA error code