OMmain_loop


Synopsis


void OMmain_loop (
int  vcp_mode  );

Description

OMmain_loop starts the main loop for dispatching events, such as user interactions with your application.

You typically call OMmain_loop when executing in server mode. First you initialize the application, including calling OMmain_init to initialize the Object Manager. Then you call OMmain_loop. OMmain_loop never returns.

The routine also optionally starts up the V Command Processor.

Arguments

vcp_mode

A mode indicating whether to start the V Command Processor:

•      OM_VCP_DEFAULT -- If the calling process is the scheduler, then start the VCP; otherwise, do not.

•      OM_VCP_SUPPRESS -- Do not start the VCP.

•      OM_VCP_PRESENT -- Start the VCP.