* lwp.c: lightweight process creation, destruction and manipulation
*
* Known contributors to this file:
- * Markus Armbruster, 2004-2008
+ * Markus Armbruster, 2004-2009
*/
#include <config.h>
if (nextp)
break;
}
- if (CANT_HAPPEN(LwpCurrent == 0 && nextp == 0))
+ if (CANT_HAPPEN(!LwpCurrent && !nextp))
abort();
if (LwpCurrent != nextp) {
struct lwpProc *oldp = LwpCurrent;
LwpCurrent = nextp;
*LwpContextPtr = nextp->ud;
lwpSwitchContext(oldp, nextp);
- lwpStatus(nextp, "switch in %d", nextp->pri);
+ lwpStatus(nextp, "switch in");
}
}