Revert previous patch
It raises an assert under Windows, it is not clear why but it happens that idle_loop() is called with incorrect threadID and the assert triggered is: assert(threadID >= 0 && threadID < MAX_THREADS); So revert the patch for now, but we should understand why it fails. Signed-off-by: Marco Costalba <mcostalba@gmail.com>sf_2.3.1_base
parent
57340c109b
commit
68eb7e77f1
|
@ -2768,6 +2768,9 @@ namespace {
|
||||||
cout << "Failed to create thread number " << i << endl;
|
cout << "Failed to create thread number " << i << endl;
|
||||||
Application::exit_with_failure();
|
Application::exit_with_failure();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Wait until the thread has finished launching and is gone to sleep
|
||||||
|
while (threads[i].state != THREAD_SLEEPING);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue