php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
fpm_children.h
Go to the documentation of this file.
1 /* (c) 2007,2008 Andrei Nigmatulin */
2
3#ifndef FPM_CHILDREN_H
4#define FPM_CHILDREN_H 1
5
6#include <sys/time.h>
7#include <sys/types.h>
8
9#include "fpm_worker_pool.h"
10#include "fpm_events.h"
11#include "zlog.h"
12
13struct fpm_child_s;
14
16int fpm_children_free(struct fpm_child_s *child);
17void fpm_children_bury(void);
19int fpm_children_make(struct fpm_worker_pool_s *wp, int in_event_loop, int nb_to_spawn, int is_debug);
20struct fpm_child_s *fpm_child_find(pid_t pid);
21
24 struct timeval started;
26 struct fpm_event_s ev_stdout, ev_stderr, ev_free;
29 void (*tracer)(struct fpm_child_s *);
30 struct timeval slow_logged;
33 pid_t pid;
36};
37
38#endif
struct fpm_child_s * fpm_child_find(pid_t pid)
int fpm_children_make(struct fpm_worker_pool_s *wp, int in_event_loop, int nb_to_spawn, int is_debug)
int fpm_children_create_initial(struct fpm_worker_pool_s *wp)
int fpm_children_free(struct fpm_child_s *child)
void fpm_children_bury(void)
int fpm_children_init_main(void)
struct timeval started
void(* tracer)(struct fpm_child_s *)
bool postponed_free
struct fpm_event_s ev_stdout ev_stderr ev_free
struct fpm_child_s * prev
struct fpm_child_s * next
struct timeval slow_logged
struct fpm_worker_pool_s * wp
struct zlog_stream * log_stream
ZEND_API void(ZEND_FASTCALL *zend_touch_vm_stack_data)(void *vm_stack_data)