use Sleep() on win32 in indexer. Add pthread dll to win dist

pull/9/head
reg_ 14 years ago
parent 340ab0dca8
commit 958be0b496

@ -112,7 +112,11 @@ int main(int argc, char **argv) {
while (indexer->isRunning()) {
if (verboseFlag)
cout << indexer->getProgression() << "% of all the articles indexed..." << endl;
#ifdef _WIN32
Sleep(1000);
#else
sleep(1);
#endif
}
if (verboseFlag)
cout << "100% of the articles were successfuly indexed..." << endl;

Loading…
Cancel
Save