GNU libmicrohttpd
0.9.72
|
main functions to destroy a daemon More...
Go to the source code of this file.
Functions | |
static void | stop_workers (struct MHD_Daemon *daemon) |
void | MHD_daemon_destroy (struct MHD_Daemon *daemon) |
main functions to destroy a daemon
Definition in file daemon_destroy.c.
|
static |
Stop all worker threads from the worker pool.
daemon | master daemon controlling the workers |
Definition at line 36 of file daemon_destroy.c.
References _, fd, MHD_Daemon::itc, MHD_Daemon::listen_socket, mhd_assert, MHD_daemon_destroy(), MHD_INVALID_SOCKET, MHD_ITC_IS_INVALID_, MHD_PANIC, NULL, MHD_Daemon::shutdown, MHD_Daemon::threading_mode, MHD_Daemon::was_quiesced, MHD_Daemon::worker_pool, and MHD_Daemon::worker_pool_size.
Referenced by MHD_daemon_destroy().