You are here: COM Interface > Interfaces > IIndexJob Interface > IIndexJob::IsThreadDoneWait Method
IIndexJob::IsThreadDoneWait Method
dtSearch Text Retrieval Engine Programmer's Reference
IIndexJob::IsThreadDoneWait Method
HRESULT IsThreadDoneWait([in] LONG millisecondsToWait, [out,retval] VARIANT_BOOL* pVal);

Returns true if an indexing thread started by ExecuteInThread is done. IsThreadDoneWait will return immediately if the thread is done, or it will wait up to millisecondsToWait to return if the thread is not done yet. IsThreadDoneWait should be called when you are checking in a loop, so the indexing thread will have a chance to complete.

Copyright (c) 1995-2023 dtSearch Corp. All rights reserved.