]> code.citadel.org Git - citadel.git/blobdiff - citadel/sysdep_decls.h
* There is now a dedicated thread for doing database checkpoints.
[citadel.git] / citadel / sysdep_decls.h
index a4d574435705e4a722e054132e31a1b457973664..c805176a0f5a5d3cf8ad0da10e11297243347585 100644 (file)
@@ -41,6 +41,8 @@ void lprintf (enum LogLevel loglevel, const char *format, ...);
 void cprintf (const char *format, ...);
 #endif
 
+extern pthread_key_t MyConKey;                 /* TSD key for MyContext() */
+
 extern int enable_syslog;
 
 void init_sysdep (void);
@@ -95,3 +97,7 @@ void tracked_free(void *ptr);
 char *tracked_strdup(const char *s, char *file, int line);
 void dump_heap(void);
 #endif
+
+void create_maintenance_threads(void);
+extern pthread_t indexer_thread_tid;
+extern pthread_t checkpoint_thread_tid;