
Go to the source code of this file.
Classes | |
| struct | child_worker |
Functions | |
| void | alloc_buffer (uv_handle_t *handle, size_t suggested_size, uv_buf_t *buf) |
| void | close_process_handle (uv_process_t *req, int64_t exit_status, int term_signal) |
| int | main () |
| void | on_new_connection (uv_stream_t *server, int status) |
| void | setup_workers () |
Variables | |
| int | child_worker_count |
| uv_buf_t | dummy_buf |
| uv_loop_t * | loop |
| int | round_robin_counter |
| char | worker_path [500] |
| struct child_worker * | workers |
| void alloc_buffer | ( | uv_handle_t * | handle, |
| size_t | suggested_size, | ||
| uv_buf_t * | buf | ||
| ) |
Definition at line 26 of file libuv/docs/code/multi-echo-server/main.c.
| void close_process_handle | ( | uv_process_t * | req, |
| int64_t | exit_status, | ||
| int | term_signal | ||
| ) |
Definition at line 21 of file libuv/docs/code/multi-echo-server/main.c.
| int main | ( | ) |
Definition at line 97 of file libuv/docs/code/multi-echo-server/main.c.
| void on_new_connection | ( | uv_stream_t * | server, |
| int | status | ||
| ) |
Definition at line 31 of file libuv/docs/code/multi-echo-server/main.c.
| void setup_workers | ( | ) |
Definition at line 51 of file libuv/docs/code/multi-echo-server/main.c.
| int child_worker_count |
Definition at line 16 of file libuv/docs/code/multi-echo-server/main.c.
| uv_buf_t dummy_buf |
Definition at line 18 of file libuv/docs/code/multi-echo-server/main.c.
| uv_loop_t* loop |
Definition at line 7 of file libuv/docs/code/multi-echo-server/main.c.
| int round_robin_counter |
Definition at line 15 of file libuv/docs/code/multi-echo-server/main.c.
| char worker_path[500] |
Definition at line 19 of file libuv/docs/code/multi-echo-server/main.c.
| struct child_worker * workers |