Fix up ARTV import so that imports actually work.
[citadel.git] / citadel / threads.h
index c9e683cf524e2adcf98c67222449347262ea0ee5..65c5689fac86c639e3e7a23458a6244a0a5dad85 100644 (file)
@@ -23,6 +23,8 @@
 #include "server.h"
 #include "sysdep_decls.h"
 
+// #define THREADS_USESIGNALS
+
 /*
  * Thread stuff
  */
@@ -56,7 +58,7 @@ struct CtdlThreadNode{
        void *user_args;                        /* Arguments passed to this threads work function */
        long flags;                             /* Flags that describe this thread */
        enum CtdlThreadState state;             /* Flag to show state of this thread */
-       int stop_ticker;                        /* A counter to determine how long it has taken for this thread to exit */
+       time_t stop_ticker;                     /* A counter to determine how long it has taken for this thread to exit */
        citthread_mutex_t ThreadMutex;          /* A mutex to sync this thread to others if this thread allows (also used for sleeping) */
        citthread_cond_t ThreadCond;            /* A condition variable to sync this thread with others */
        citthread_mutex_t SleepMutex;           /* A mutex for sleeping */