diff options
Diffstat (limited to 'src/lib/evloop/workqueue.h')
-rw-r--r-- | src/lib/evloop/workqueue.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/evloop/workqueue.h b/src/lib/evloop/workqueue.h index 134fe7434f..9ed504249a 100644 --- a/src/lib/evloop/workqueue.h +++ b/src/lib/evloop/workqueue.h @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2021, The Tor Project, Inc. */ +/* Copyright (c) 2013-2024, The Tor Project, Inc. */ /* See LICENSE for licensing information */ /** @@ -58,6 +58,7 @@ threadpool_t *threadpool_new(int n_threads, void *(*new_thread_state_fn)(void*), void (*free_thread_state_fn)(void*), void *arg); +void threadpool_free(threadpool_t *tp); replyqueue_t *threadpool_get_replyqueue(threadpool_t *tp); replyqueue_t *replyqueue_new(uint32_t alertsocks_flags); |