File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -373,7 +373,7 @@ void GThread::detach()
373373
374374void GThread::wait_all () {
375375 while (GThread::num_running ()>0 )
376- current_thread::sleep_for (2 );
376+ current_thread::sleep_for (1 );
377377}
378378
379379
Original file line number Diff line number Diff line change @@ -1332,11 +1332,11 @@ void noMoreBundles() {
13321332 if (areThreadsWaiting) {
13331333 DBGPRINT (" ##> NOTIFY ALL workers: no more data!\n " );
13341334 haveBundles.notify_all ();
1335- current_thread::sleep_for (10 );
1335+ current_thread::sleep_for (1 );
13361336 waitMutex.lock ();
13371337 areThreadsWaiting=(threadsWaiting>0 );
13381338 waitMutex.unlock ();
1339- current_thread::sleep_for (10 );
1339+ current_thread::sleep_for (1 );
13401340 }
13411341 } while (areThreadsWaiting); // paranoid check that all threads stopped waiting
13421342#else
You can’t perform that action at this time.
0 commit comments