mirror of
https://github.com/kiwix/kiwix-tools.git
synced 2025-09-22 11:22:38 -04:00
+ further dev of the multithreader indexer
This commit is contained in:
parent
7e5aa98d50
commit
c370de2010
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user