isctest.c revision 8a2ab2b9203120c3e2a883a5ee8c0b5d60c1808c
44aae046c38e796e581110b7ecdf4478167d684dBob Halley * Copyright (C) 2011 Internet Systems Consortium, Inc. ("ISC")
44aae046c38e796e581110b7ecdf4478167d684dBob Halley * Permission to use, copy, modify, and/or distribute this software for any
40f53fa8d9c6a4fc38c0014495e7a42b08f52481David Lawrence * purpose with or without fee is hereby granted, provided that the above
44aae046c38e796e581110b7ecdf4478167d684dBob Halley * copyright notice and this permission notice appear in all copies.
44aae046c38e796e581110b7ecdf4478167d684dBob Halley * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
44aae046c38e796e581110b7ecdf4478167d684dBob Halley * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
/* $Id: isctest.c,v 1.4 2011/09/02 21:15:38 each Exp $ */
#include <config.h>
#include <time.h>
#include "isctest.h"
int ncpus;
{ NULL, 0 }
cleanup_managers() {
static isc_result_t
create_managers() {
#ifdef ISC_PLATFORM_USETHREADS
return (ISC_R_SUCCESS);
return (result);
&destination, 0));
#ifdef ISC_PLATFORM_USETHREADS
if (start_managers)
return (ISC_R_SUCCESS);
isc_test_end();
return (result);
isc_test_end() {
if (hash_active) {
#ifdef HAVE_NANOSLEEP