Data Fields

Ipc_Terminate Struct Reference

Argument for the Ipc_CONTROLCMD_SETTERMINATEPOLICY command. More...

#include <IpcHost.h>

Data Fields

Int policy

Detailed Description

Argument for the Ipc_CONTROLCMD_SETTERMINATEPOLICY command.

Initialize a structure of this type with the desired terminate policy. Pass the address of this structure as the arg parameter to Ipc_control() along with this command type. This must be done before calling the load callback.

Example:
      Ipc_Terminate terminateConfig;

      // set the requested terminate policy
      terminateConfig.policy = Ipc_TERMINATEPOLICY_STOP;
      Ipc_control(procId, Ipc_CONTROLCMD_SETTERMINATEPOLICY,
              (Ptr)(&terminateConfig));

      // now invoke the load callback
      Ipc_control(procId, Ipc_CONTROLCMD_LOADCALLBACK, NULL);
See also:
Ipc_TERMINATEPOLICY_STOP
Ipc_TERMINATEPOLICY_NOTIFY

Field Documentation

terminate policy


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines

Copyright 2012, Texas Instruments Incorporated