Initialize TSD key earlier in the startup process. Newer Linux/Linux distributions...
[citadel.git] / citadel / threads.h
index 21e790530e90c63d7ed54aa29fc0bfdf3a05c7b4..5540d27a83568efd99076ab21c8cbcc7eaaa46e8 100644 (file)
@@ -24,6 +24,7 @@ struct thread_tsd {
        DBC *cursors[MAXCDB];   /* Cursors, for traversals... */
 };
 
+pthread_key_t ThreadKey;
 extern struct thread_tsd masterTSD;
 #define TSD MyThread()