mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-18 18:18:00 -05:00
As the default_call_rcu_thread can't be forced to flush all the work during the executable shutdown, create one call_rcu_thread explicitly and assign it to the all created threads. This allows this explicit call_rcu_thread to be unassociated from the main thread and freed before the executable destructor exits.
24 lines
551 B
C
24 lines
551 B
C
/*
|
|
* Copyright (C) Internet Systems Consortium, Inc. ("ISC")
|
|
*
|
|
* SPDX-License-Identifier: MPL-2.0
|
|
*
|
|
* 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 https://mozilla.org/MPL/2.0/.
|
|
*
|
|
* See the COPYRIGHT file distributed with this work for additional
|
|
* information regarding copyright ownership.
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include <isc/thread.h>
|
|
|
|
/*! \file */
|
|
|
|
void
|
|
isc__thread_initialize(void);
|
|
|
|
void
|
|
isc__thread_shutdown(void);
|