Initial implementation of the worker thread pool size manager
[citadel.git] / citadel / threads.h
index d080b81e7abdff708fe6f72dd22bd0be9fe3bc0d..f96ab77d5bbc0c9215a2745aee9e72f8db81c278 100644 (file)
@@ -33,6 +33,9 @@ struct thread_tsd {
 extern struct thread_tsd masterTSD;
 #define TSD MyThread()
 
+extern int num_workers;
+extern int active_workers;
+
 struct thread_tsd *MyThread(void);
 int try_critical_section (int which_one);
 void begin_critical_section (int which_one);