enum apr_kill_conditions_e

Overview

#include <apr_thread_proc.h>

enum apr_kill_conditions_e {
    APR_KILL_NEVER,
    APR_KILL_ALWAYS,
    APR_KILL_AFTER_TIMEOUT,
    APR_JUST_WAIT,
    APR_KILL_ONLY_ONCE,
};

Detailed Documentation

Enum Values

APR_KILL_NEVER

process is never killed (i.e., never sent any signals), but it will be reaped if it exits before the pool is cleaned up

APR_KILL_ALWAYS

process is sent SIGKILL on apr_pool_t cleanup

APR_KILL_AFTER_TIMEOUT

SIGTERM, wait 3 seconds, SIGKILL

APR_JUST_WAIT

wait forever for the process to complete

APR_KILL_ONLY_ONCE

send SIGTERM and then wait