]> git.pond.sub.org Git - empserver/blobdiff - src/lib/lwp/sel.c
Update copyright notice
[empserver] / src / lib / lwp / sel.c
index fcdf77b42c2f777d27be4bd964c8575c433f140f..33b2270936a74d8a550da6fa25f28b8964f46dfa 100644 (file)
@@ -1,6 +1,6 @@
 /*
  *  Empire - A multi-player, client/server Internet based war game.
- *  Copyright (C) 1994-2014, Dave Pare, Jeff Bailey, Thomas Ruschak,
+ *  Copyright (C) 1994-2021, Dave Pare, Jeff Bailey, Thomas Ruschak,
  *                Ken Stevens, Steve McClure, Markus Armbruster
  *  Copyright (C) 1991-3 Stephen Crane
  *
@@ -99,7 +99,7 @@ lwpSleepFd(int fd, int mask, struct timeval *timeout)
 
     if (LwpMaxfd == 0 && !LwpDelayq.head) {
        /* select process is sleeping until first waiter arrives */
-       lwpStatus(LwpCurrent, "going to resched fd %d", fd);
+       lwpStatus(LwpCurrent, "going to reschedule fd %d", fd);
        lwpReady(LwpSelProc);
     }
     lwpStatus(LwpCurrent, "going to wait on fd %d", fd);
@@ -121,7 +121,7 @@ lwpSleepFd(int fd, int mask, struct timeval *timeout)
 }
 
 /*
- * Wake up PROC if it is sleeping in lwpSleepFd().
+ * Wake up @proc if it is sleeping in lwpSleepFd().
  * Must be followed by lwpWakeupSleep() before the next lwpReschedule().
  */
 static void
@@ -283,5 +283,4 @@ lwpSelect(void *arg)
        lwpReady(LwpCurrent);
        lwpReschedule();
     }
-    /*NOTREACHED*/
 }