Bull DPX/20 Guida Utente Pagina 180

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 424
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 179
2-12
SOMobjects Base Toolkit: Programmers Reference Manual
SOMD_Uninit Function
Purpose
Free system resources allocated for use by DSOM.
C Syntax
void SOMD_Uninit (Environment* env);
Description
Frees system resources (such as, shared memory segments, semaphores) allocated to the
calling process for use by DSOM. This function should be called before a process exits, to
ensure system resources are reused.
No DSOM functions or methods should be called after SOMD_Uninit has been called. After
SOMD_Uninit is called, the program can be reinitialized by calling SOMD_Init.
(SOMD_Uninit would then need to be called again before program termination, to
uninitialize the program.)
Parameters
env A pointer to the Environment structure for the caller.
Example
#include <somd.h>
Environment ev;
/* initialize Environment */
SOM_InitEnvironment(&ev);
/* initialize DSOM runtime */
SOMD_Init(&ev);
...
/* Free DSOM resources */
SOMD_Uninit(&ev);
Related Information
See Chapter 6 on DSOM in the SOM Toolkit Users Guide.
Vedere la pagina 179
1 2 ... 175 176 177 178 179 180 181 182 183 184 185 ... 423 424

Commenti su questo manuale

Nessun commento