Checks whether an IndexJob started using ExecuteInThread is done, and also gets information on the state of the index update.
True if the thread is done, or false if the thread is still running.
An application that loops calling IsThreadDone() should call Sleep() between calls to allow the indexing thread to run. Otherwise a high percentage if CPU resources will be spent just processing IsThreadDone calls.
If waitTimeMillis is greater than zero, IsThreadDone will automatically wait up to waitTimeMillis milliseconds for the thread to complete before returning false.
IndexJob Class | dtSearch.Engine Namespace