Lines Matching refs:result

234 	isc_result_t result;
259 result = isc_mutex_init(&ctx->lock);
260 if (result != ISC_R_SUCCESS)
261 return (result);
276 isc_result_t result;
287 result = isc__app_ctxstart((isc_appctx_t *)&isc_g_appctx);
288 if (result != ISC_R_SUCCESS)
289 return (result);
299 result = handle_signal(SIGINT, exit_action);
300 if (result != ISC_R_SUCCESS)
301 return (result);
302 result = handle_signal(SIGTERM, exit_action);
303 if (result != ISC_R_SUCCESS)
304 return (result);
310 result = handle_signal(SIGPIPE, SIG_IGN);
311 if (result != ISC_R_SUCCESS)
312 return (result);
323 result = handle_signal(SIGHUP, SIG_DFL);
324 if (result != ISC_R_SUCCESS)
325 return (result);
328 result = handle_signal(SIGTERM, SIG_DFL);
329 if (result != ISC_R_SUCCESS)
330 return (result);
331 result = handle_signal(SIGINT, SIG_DFL);
332 if (result != ISC_R_SUCCESS)
333 return (result);
342 * will result in all threads having SIGHUP, SIGINT and SIGTERM
407 isc_result_t result;
412 result = ISC_R_ALREADYRUNNING;
424 result = ISC_R_NOMEMORY;
430 result = ISC_R_SUCCESS;
435 return (result);
444 isc_result_t result;
474 result = isc__timermgr_nextevent(ctx->timermgr, &when);
475 if (result != ISC_R_SUCCESS)
535 * \brief True if we are exiting the event loop as the result of
543 isc_result_t result;
554 result = evloop(&isc_g_appctx);
555 if (result == ISC_R_RELOAD)
584 int result;
631 result = handle_signal(SIGHUP, reload_action);
632 if (result != ISC_R_SUCCESS)
666 result = sigwait(&sset, &sig);
667 if (result == 0) {
695 result = sigsuspend(&sset);
711 result = evloop(ctx);
712 if (result != ISC_R_SUCCESS)
713 return (result);
749 int result;
751 result = pthread_kill(main_thread, SIGTERM);
752 if (result != 0) {
753 isc__strerror(result, strbuf, sizeof(strbuf));
805 int result;
807 result = pthread_kill(main_thread, SIGHUP);
808 if (result != 0) {
809 isc__strerror(result, strbuf, sizeof(strbuf));