somSetExpectedIds

From EDM2
Jump to: navigation, search

This function tells SOM how many unique SOM IDs a client program expects to use.

Syntax

unsigned long    numIds;

somSetExpectedIds(numIds);

Parameters

numIds (unsigned long)
The number of SOM IDs the client program expects to use.

Return Code

Remarks

This function informs the SOM run-time environment how many unique SOM IDs a client program expects to use during its execution. This has the potential of slightly improving the program's space and time efficiency, if the value specified is accurate. This function, if used, must be called prior to any explicit or implicit invocation of the somEnvironmentNew function to have any effect.

Example Code

#include <som.h>
somSetExpectedIds(1000);

Related

Functions