load_config()

QNX SDP8.0PLMS User's GuideAPIConfigurationDeveloper

Loads an additional configuration file dynamically.

Synopsis:

load_config("config_filename")

Description:

The load_config() function adds the specified configuration file into plms. Use start_components() to start a component from the loaded configuration. The includes in files loaded this way will be treated like includes from normal config files. If the file is not accessible or the parsing of the file has failed, then it is assumed that the load_config() function has failed.

Example:

load_config("/ifs2/starts.cfg")

Multiplicity:

Zero or more instances in a task block.

Constraints:

  • The configuration file is evaluated only during component runtime.

  • PLMS will handle only one configuration file at a time.

  • If there are parallel load_config() functions then the functions are blocked, and a stop cannot abort the load_config() function.

  • If the configuration file is already loaded in PLMS then it is assumed that the load_config() is successful.

Page updated: