Exemplo n.º 1
0
void WebInterface::stop() {
	stop_flag_ = true;
	FCGX_ShutdownPending();

	LOG_DBG("Stopping web-interface thread");
	if(worker_thread_) {
		worker_thread_->join();
		delete worker_thread_;
	}

	LOG_DBG("Web-interface thread stopped");

	delete mutex_;
	delete uri_regex_;
	delete uri_regex_query_;
	delete uri_regex_file_;
}
Exemplo n.º 2
0
void signalCatch(int s){
    FCGX_ShutdownPending();
}
Exemplo n.º 3
0
			void shutdown() override { FCGX_ShutdownPending(); }
Exemplo n.º 4
0
static void fcgi_term_handler(int sig)
{
	FCGX_ShutdownPending();
}