diff options
Diffstat (limited to 'src/server/threadpool.h')
-rw-r--r-- | src/server/threadpool.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/threadpool.h b/src/server/threadpool.h index b3b0fe6..15dd151 100644 --- a/src/server/threadpool.h +++ b/src/server/threadpool.h @@ -12,6 +12,12 @@ bool threadpool_init(int maxIdleThreadCount); /** + * Shut down threadpool. + * Only call if it has been initialized before. + */ +void threadpool_close(); + +/** * Run a thread using the thread pool. * @param startRoutine function to run in new thread * @param arg argument to pass to thead |