If there is no runnable thread, we're deadlocked. lwpReschedule() has
an assertion to catch this. But it didn't work, and the code
following it would crash then. Can't actually happen, because the
EventHandler thread is always runnable. Spotted by the Clang Static
Analyzer.
- if (CANT_HAPPEN(!LwpCurrent && !nextp))
+ if (CANT_HAPPEN(!nextp))
abort();
if (LwpCurrent != nextp) {
struct lwpProc *oldp = LwpCurrent;
abort();
if (LwpCurrent != nextp) {
struct lwpProc *oldp = LwpCurrent;