From 63e040ea63755052ceca98aac3e6f9843cadbeee Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 6 Jan 2015 22:36:11 +0100 Subject: [SERVER] Big code cleanup, refactoring, minor bugfixing --- src/server/threadpool.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/server/threadpool.h') 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 @@ -11,6 +11,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 -- cgit v1.2.3-55-g7522