Bull DPX/20 Uživatelská příručka Strana 45

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 424
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 44
SOM Kernel Reference 1-33
somSetExpectedIds Function
Purpose
Tells SOM how many unique SOM IDs a client program expects to use.
Syntax
void somSetExpectedIds (unsigned long numIds);
Description
The somSetExpectedIds function informs the SOM runtime 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.
Parameters
numIds The number of SOM IDs the client program expects to use.
C Example
#include <som.h>
somSetExpectedIds(1000);
Related Information
Functions: somCheckId, somRegisterId, somIdFromString, somStringFromId,
somCompareIds, somTotalRegIds, somUniqueKey, somBeginPersistentIds,
somEndPersistentIds
Zobrazit stránku 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 423 424

Komentáře k této Příručce

Žádné komentáře