0c4887513bbf71b7d3c99fe9d88c3583cda16febBrian Wellington/*
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * Copyright (C) 2000, 2001, 2004, 2005, 2007, 2009, 2011-2013, 2016 Internet Systems Consortium, Inc. ("ISC")
0c4887513bbf71b7d3c99fe9d88c3583cda16febBrian Wellington *
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * This Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * License, v. 2.0. If a copy of the MPL was not distributed with this
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews * file, You can obtain one at http://mozilla.org/MPL/2.0/.
0c4887513bbf71b7d3c99fe9d88c3583cda16febBrian Wellington */
0c4887513bbf71b7d3c99fe9d88c3583cda16febBrian Wellington
28a8f5b0de57d269cf2845c69cb6abe18cbd3b3aMark Andrews/* $Id$ */
0c4887513bbf71b7d3c99fe9d88c3583cda16febBrian Wellington
3be0a4382d6b0e9f9ecf2fa1f2e9154087f3a175Brian Wellington#ifndef ISC_TASK_P_H
3be0a4382d6b0e9f9ecf2fa1f2e9154087f3a175Brian Wellington#define ISC_TASK_P_H
3be0a4382d6b0e9f9ecf2fa1f2e9154087f3a175Brian Wellington
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein/*! \file */
ab023a65562e62b85a824509d829b6fad87e00b1Rob Austein
b99bfa184bc9375421b5df915eea7dfac6a68a99Evan Hunt#if defined(ISC_PLATFORM_USETHREADS)
8a2ab2b9203120c3e2a883a5ee8c0b5d60c1808cEvan Huntvoid
8a2ab2b9203120c3e2a883a5ee8c0b5d60c1808cEvan Huntisc__taskmgr_pause(isc_taskmgr_t *taskmgr);
8a2ab2b9203120c3e2a883a5ee8c0b5d60c1808cEvan Hunt
8a2ab2b9203120c3e2a883a5ee8c0b5d60c1808cEvan Huntvoid
8a2ab2b9203120c3e2a883a5ee8c0b5d60c1808cEvan Huntisc__taskmgr_resume(isc_taskmgr_t *taskmgr);
8a2ab2b9203120c3e2a883a5ee8c0b5d60c1808cEvan Hunt#else
5a842a6fc32d4e954c52fa20ab467e101a354828Brian Wellingtonisc_boolean_t
307d2084502eddc7ce921e5ce439aec3531d90e0Tatuya JINMEI 神明達哉isc__taskmgr_ready(isc_taskmgr_t *taskmgr);
5a842a6fc32d4e954c52fa20ab467e101a354828Brian Wellington
3be0a4382d6b0e9f9ecf2fa1f2e9154087f3a175Brian Wellingtonisc_result_t
307d2084502eddc7ce921e5ce439aec3531d90e0Tatuya JINMEI 神明達哉isc__taskmgr_dispatch(isc_taskmgr_t *taskmgr);
b99bfa184bc9375421b5df915eea7dfac6a68a99Evan Hunt#endif /* !ISC_PLATFORM_USETHREADS */
3be0a4382d6b0e9f9ecf2fa1f2e9154087f3a175Brian Wellington
3be0a4382d6b0e9f9ecf2fa1f2e9154087f3a175Brian Wellington#endif /* ISC_TASK_P_H */