The battle against bit rot continues!
[citadel.git] / citadel / threads.h
index f96ab77d5bbc0c9215a2745aee9e72f8db81c278..28f73b520f5dc2278d6e36557a230b356a8d5968 100644 (file)
 
 #ifdef HAVE_DB_H
 #include <db.h>
-#elif defined(HAVE_DB4_DB_H)
-#include <db4/db.h>
-#else
-#error Neither <db.h> nor <db4/db.h> was found by configure. Install db4-devel.
+#error <db.h> was not found by configure. Install the Berkeley DB development package.
 #endif
 
 #include "server.h"
@@ -35,15 +32,17 @@ extern struct thread_tsd masterTSD;
 
 extern int num_workers;
 extern int active_workers;
+extern int server_shutting_down;
 
 struct thread_tsd *MyThread(void);
 int try_critical_section (int which_one);
 void begin_critical_section (int which_one);
 void end_critical_section (int which_one);
 void go_threading(void);
-int CtdlThreadCheckStop(void);
-void CtdlThreadStopAll(void);
 void InitializeMasterTSD(void);
 void CtdlThreadCreate(void *(*start_routine)(void*));
 
+
+extern pthread_mutex_t ThreadCountMutex;;
+
 #endif // THREADS_H