diff -r 3f8c587734aa -r 70bca6190669 src/server/util/thrpool.h
--- a/src/server/util/thrpool.h	Fri Jan 24 17:42:58 2025 +0100
+++ b/src/server/util/thrpool.h	Sun Jan 26 23:09:43 2025 +0100
@@ -31,6 +31,7 @@
 
 #include "../public/nsapi.h"
 #include <pthread.h>
+#include <time.h>
 
 #ifdef	__cplusplus
 extern "C" {
@@ -47,6 +48,10 @@
     uint32_t        num_threads;
     int             min_threads;
     int             max_threads;
+    pthread_t       *threads;
+    int             *thrstatus;
+    time_t          last_job;
+    int             last_thread;
 };
 
 struct _threadpool_job {