|
php-internal-docs 8.4.8
Unofficial docs for php/php-src
|
#include "fpm_events.h"Go to the source code of this file.
Macros | |
| #define | FPM_IDLE_SERVER_MAINTENANCE_HEARTBEAT (1000) |
| #define | FPM_PCTL_MIN_HEARTBEAT (130) |
Enumerations | |
| enum | { FPM_PCTL_STATE_UNSPECIFIED , FPM_PCTL_STATE_NORMAL , FPM_PCTL_STATE_RELOADING , FPM_PCTL_STATE_TERMINATING , FPM_PCTL_STATE_FINISHING } |
| enum | { FPM_PCTL_ACTION_SET , FPM_PCTL_ACTION_TIMEOUT , FPM_PCTL_ACTION_LAST_CHILD_EXITED } |
| enum | { FPM_PCTL_TERM , FPM_PCTL_STOP , FPM_PCTL_CONT , FPM_PCTL_QUIT , FPM_PCTL_KILL } |
Functions | |
| void | fpm_pctl (int new_state, int action) |
| int | fpm_pctl_can_spawn_children (void) |
| int | fpm_pctl_kill (pid_t pid, int how) |
| void | fpm_pctl_kill_all (int signo) |
| void | fpm_pctl_heartbeat (struct fpm_event_s *ev, short which, void *arg) |
| void | fpm_pctl_perform_idle_server_maintenance_heartbeat (struct fpm_event_s *ev, short which, void *arg) |
| void | fpm_pctl_on_socket_accept (struct fpm_event_s *ev, short which, void *arg) |
| int | fpm_pctl_child_exited (void) |
| int | fpm_pctl_init_main (void) |
| #define FPM_IDLE_SERVER_MAINTENANCE_HEARTBEAT (1000) |
Definition at line 9 of file fpm_process_ctl.h.
| #define FPM_PCTL_MIN_HEARTBEAT (130) |
Definition at line 11 of file fpm_process_ctl.h.
| anonymous enum |
| Enumerator | |
|---|---|
| FPM_PCTL_STATE_UNSPECIFIED | |
| FPM_PCTL_STATE_NORMAL | |
| FPM_PCTL_STATE_RELOADING | |
| FPM_PCTL_STATE_TERMINATING | |
| FPM_PCTL_STATE_FINISHING | |
Definition at line 27 of file fpm_process_ctl.h.
| anonymous enum |
| Enumerator | |
|---|---|
| FPM_PCTL_TERM | |
| FPM_PCTL_STOP | |
| FPM_PCTL_CONT | |
| FPM_PCTL_QUIT | |
| FPM_PCTL_KILL | |
Definition at line 41 of file fpm_process_ctl.h.
| anonymous enum |
| Enumerator | |
|---|---|
| FPM_PCTL_ACTION_SET | |
| FPM_PCTL_ACTION_TIMEOUT | |
| FPM_PCTL_ACTION_LAST_CHILD_EXITED | |
Definition at line 35 of file fpm_process_ctl.h.
| void fpm_pctl | ( | int | new_state, |
| int | action ) |
Definition at line 208 of file fpm_process_ctl.c.
| int fpm_pctl_can_spawn_children | ( | void | ) |
Definition at line 253 of file fpm_process_ctl.c.
| int fpm_pctl_child_exited | ( | void | ) |
Definition at line 258 of file fpm_process_ctl.c.
| void fpm_pctl_heartbeat | ( | struct fpm_event_s * | ev, |
| short | which, | ||
| void * | arg ) |
Definition at line 459 of file fpm_process_ctl.c.
| int fpm_pctl_init_main | ( | void | ) |
Definition at line 270 of file fpm_process_ctl.c.
| int fpm_pctl_kill | ( | pid_t | pid, |
| int | how ) |
Definition at line 125 of file fpm_process_ctl.c.
| void fpm_pctl_kill_all | ( | int | signo | ) |
Definition at line 152 of file fpm_process_ctl.c.
| void fpm_pctl_on_socket_accept | ( | struct fpm_event_s * | ev, |
| short | which, | ||
| void * | arg ) |
Definition at line 514 of file fpm_process_ctl.c.
| void fpm_pctl_perform_idle_server_maintenance_heartbeat | ( | struct fpm_event_s * | ev, |
| short | which, | ||
| void * | arg ) |
Definition at line 484 of file fpm_process_ctl.c.