enum nginx_cpu_aff_mode

Overview

Worker processes CPU affinity modes More…

#include <conf_nginx.h>

enum nginx_cpu_aff_mode {
    NGINX_CPU_AFF_MODE_NOTBOUND = 0,
    NGINX_CPU_AFF_MODE_AUTO,
    NGINX_CPU_AFF_MODE_MANUAL,
    NGINX_CPU_AFF_MODE_MAX,
};

Detailed Documentation

Worker processes CPU affinity modes

Enum Values

NGINX_CPU_AFF_MODE_NOTBOUND

Do not bind to any specific CPU

NGINX_CPU_AFF_MODE_AUTO

Bind automatically

NGINX_CPU_AFF_MODE_MANUAL

CPU set is specified for each worker via mask

NGINX_CPU_AFF_MODE_MAX

Enumeration elements number