Lucene++ - a full-featured, c++ search engine
API Documentation
Go to the documentation of this file.
31 static const int32_t MAX_THREAD_PRIORITY;
47 virtual bool isAlive();
50 virtual void setPriority(int32_t priority);
53 virtual int32_t getPriority();
56 virtual bool join(int32_t timeout = 0);
62 virtual void run() = 0;
65 static int64_t currentId();
68 static void threadSleep(int32_t time);
71 static void threadYield();
75 void setRunning(
bool running);
#define LUCENE_CLASS(Name)
Definition: LuceneObject.h:24
static const int32_t NORM_THREAD_PRIORITY
Definition: LuceneThread.h:32
bool running
Flag to indicate running thread.
Definition: LuceneThread.h:40
Lucene thread container.
Definition: LuceneThread.h:23
Definition: AbstractAllTermDocs.h:12
Base class for all Lucene classes.
Definition: LuceneObject.h:31
threadPtr thread
Definition: LuceneThread.h:36
static const int32_t MIN_THREAD_PRIORITY
Definition: LuceneThread.h:33
clucene.sourceforge.net