+ further dev of the multithreader indexer

This commit is contained in:
kelson42 2012-03-29 13:33:15 +00:00
parent 7e5aa98d50
commit c370de2010

View File

@ -107,6 +107,13 @@ int main(int argc, char **argv) {
/* Start the indexing */
if (indexer != NULL) {
/*
indexer->start();
while (indexer->isRunning()) {
cout << "Checking if running..." << endl;
sleep(1);
}
*/
while (indexer->indexNextPercent(verboseFlag)) {};
delete indexer;
} else {