#include "room_ops.h"
#include "serv_fulltext.h"
#include "ft_wordbreaker.h"
-
+#include "threads.h"
#include "ctdl_module.h"
indexerCC.cs_pid = 0;
pthread_setspecific(MyConKey, (void *)&indexerCC );
- cdb_allocate_tsd();
-
while (!CtdlThreadCheckStop()) {
do_fulltext_indexing();
CtdlThreadSleep(300);
}
else
{
- CtdlThreadCreate("indexer", CTDLTHREAD_BIGSTACK, indexer_thread, NULL);
+ CtdlThreadCreate("Indexer", CTDLTHREAD_BIGSTACK, indexer_thread, NULL);
}
/* return our Subversion id for the Log */
return "$Id$";