Stop task

QNX SDP8.0PLMS User's GuideAPIConfigurationDeveloper

Stop tasks define the stop attributes of a component. Only the statements defined in the Stop task section (i.e., signal, term_timeout) are allowed for the stop task.

Format

task "stop" {
    signal = signal_number
    term_timeout = timeout
    options = [TERMINATE_CHILD, STOP_ON_CLIENT_TERMINATION]
}

Default

A default stop task is defined for every component with default parameters, which will terminate the processes started by the component.

Example

task "stop" {
    options = [TERMINATE_CHILD]
}

Multiplicity

Zero or one instance in a component block.

Constraints

The stop task is a reserved keyword; the parameters shown are the only ones allowed.

Page updated: