]> git.pond.sub.org Git - empserver/blobdiff - src/lib/lwp/lwp.c
Update known contributors comments
[empserver] / src / lib / lwp / lwp.c
index 6a47ac61252443040ae644819e1bda0ff99f2868..8c97162637f1576c0aee6b4ff4106fc3b46b7623 100644 (file)
@@ -29,7 +29,7 @@
  *  lwp.c: lightweight process creation, destruction and manipulation
  *
  *  Known contributors to this file:
- *     Markus Armbruster, 2004-2008
+ *     Markus Armbruster, 2004-2009
  */
 
 #include <config.h>
@@ -103,7 +103,7 @@ lwpReschedule(void)
        if (nextp)
            break;
     }
-    if (CANT_HAPPEN(LwpCurrent == 0 && nextp == 0))
+    if (CANT_HAPPEN(!LwpCurrent && !nextp))
        abort();
     if (LwpCurrent != nextp) {
        struct lwpProc *oldp = LwpCurrent;
@@ -112,7 +112,7 @@ lwpReschedule(void)
        LwpCurrent = nextp;
        *LwpContextPtr = nextp->ud;
        lwpSwitchContext(oldp, nextp);
-       lwpStatus(nextp, "switch in %d", nextp->pri);
+       lwpStatus(nextp, "switch in");
     }
 }