/*
* Copyright (C) 2011-2014, 2016, 2017 Internet Systems Consortium, Inc. ("ISC")
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/* $Id$ */
/*! \file */
#include <config.h>
#include <time.h>
#include "isctest.h"
int ncpus;
/*
*/
{ "", 0 },
{ "client", 0 },
{ "network", 0 },
{ "update", 0 },
{ "queries", 0 },
{ "unmatched", 0 },
{ "update-security", 0 },
{ "query-errors", 0 },
{ NULL, 0 }
};
static void
cleanup_managers(void) {
}
static isc_result_t
create_managers(void) {
#ifdef ISC_PLATFORM_USETHREADS
ncpus = isc_os_ncpus();
#else
ncpus = 1;
#endif
return (ISC_R_SUCCESS);
return (result);
}
&destination, 0));
}
#ifdef ISC_PLATFORM_USETHREADS
ncpus = isc_os_ncpus();
#else
ncpus = 1;
#endif
if (start_managers)
CHECK(create_managers());
return (ISC_R_SUCCESS);
isc_test_end();
return (result);
}
void
isc_test_end(void) {
if (hash_active) {
}
}
/*
* Sleep for 'usec' microseconds.
*/
void
#ifdef HAVE_NANOSLEEP
#else
/*
* No fractional-second sleep function is available, so we
* round up to the nearest second and sleep instead
*/
#endif
}