X-Git-Url: https://code.citadel.org/?a=blobdiff_plain;f=citadel%2Fthreads.h;h=f96ab77d5bbc0c9215a2745aee9e72f8db81c278;hb=2c9048572f22002cd287cd3137b5f7461d35455b;hp=d080b81e7abdff708fe6f72dd22bd0be9fe3bc0d;hpb=ffa2f0d76075e6e404b050b340307affcf8cd79b;p=citadel.git diff --git a/citadel/threads.h b/citadel/threads.h index d080b81e7..f96ab77d5 100644 --- a/citadel/threads.h +++ b/citadel/threads.h @@ -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);