5784N/A * file, You can obtain one at http://mozilla.org/MPL/2.0/.
5784N/A#ifdef HAVE_EPOLL
5784N/A#ifndef ISC_PLATFORM_USETHREADS
5784N/A#include "socket_p.h"
5784N/Avoid isc__app_finish(void);
5784N/Avoid isc__app_block(void);
5784N/Avoid isc__app_unblock(void);
5784N/A (void *)isc__app_run,
5784N/A (void *)isc__app_shutdown,
5784N/A (void *)isc__app_start,
5784N/A (void *)isc__app_reload,
5784N/A (void *)isc__app_finish,
5784N/A (void *)isc__app_block,
5784N/A (void *)isc__app_unblock
5784N/A#ifdef HAVE_LINUXTHREADS
5784N/A#ifndef HAVE_SIGWAIT
5784N/Astatic isc_result_t
5784N/A return (ISC_R_UNEXPECTED);
5784N/A return (ISC_R_SUCCESS);
5784N/A#ifdef NEED_PTHREAD_INIT
5784N/A return (ISC_R_UNEXPECTED);
5784N/A#ifdef HAVE_LINUXTHREADS
5784N/A goto cleanup_rlock;
5784N/A goto cleanup_rcond;
5784N/A#ifndef HAVE_SIGWAIT
goto cleanup;
goto cleanup;
goto cleanup;
#ifdef HAVE_SIGWAIT
goto cleanup;
goto cleanup;
#ifdef ISC_PLATFORM_USETHREADS
goto cleanup;
if (presult != 0) {
strbuf);
goto cleanup;
goto cleanup;
if (presult != 0) {
goto cleanup;
return (ISC_R_SUCCESS);
#ifdef ISC_PLATFORM_USETHREADS
return (result);
void *arg)
goto unlock;
goto unlock;
return (result);
#ifndef ISC_PLATFORM_USETHREADS
static isc_result_t
return (ISC_R_RELOAD);
if (readytasks) {
if (us == 0)
if (n == 0 || call_timer_dispatch) {
return (ISC_R_SUCCESS);
--*mp;
if (signalled) {
++*mp;
return (ISC_R_SUCCESS);
return (ISC_R_SUCCESS);
#ifdef ISC_PLATFORM_USETHREADS
#ifdef HAVE_SIGWAIT
#ifdef HAVE_LINUXTHREADS
#ifndef ISC_PLATFORM_USETHREADS
return (ISC_R_SUCCESS);
return (result);
return (ISC_R_SUCCESS);
#ifdef HAVE_SIGWAIT
if (isc_bind9) {
strbuf);
return (ISC_R_UNEXPECTED);
#ifndef HAVE_UNIXWARE_SIGWAIT
if (result == 0) {
if (sig >= 0) {
if (isc_bind9) {
return (ISC_R_SUCCESS);
strbuf);
return (ISC_R_UNEXPECTED);
#ifdef HAVE_GPERFTOOLS_PROFILER
strbuf);
return (ISC_R_UNEXPECTED);
return (ISC_R_RELOAD);
return (ISC_R_SUCCESS);
#ifdef ISC_PLATFORM_USETHREADS
if (want_kill) {
#ifndef ISC_PLATFORM_USETHREADS
#ifdef HAVE_LINUXTHREADS
if (isc_bind9) {
int result;
if (result != 0) {
strbuf);
return (ISC_R_UNEXPECTED);
if (isc_bind9) {
return (ISC_R_UNEXPECTED);
return (ISC_R_SUCCESS);
#ifdef ISC_PLATFORM_USETHREADS
if (want_kill) {
#ifndef ISC_PLATFORM_USETHREADS
#ifdef HAVE_LINUXTHREADS
if (isc_bind9) {
int result;
if (result != 0) {
strbuf);
return (ISC_R_UNEXPECTED);
if (isc_bind9) {
return (ISC_R_UNEXPECTED);
return (ISC_R_SUCCESS);
#ifdef ISC_PLATFORM_USETHREADS
#ifdef ISC_PLATFORM_USETHREADS
#ifdef ISC_PLATFORM_USETHREADS
#ifdef ISC_PLATFORM_USETHREADS
return (ISC_R_NOMEMORY);
return (ISC_R_SUCCESS);
#include "../app_api.c"