/*
* 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
*
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);
}
/*
- * 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
lwpReady(LwpCurrent);
lwpReschedule();
}
- /*NOTREACHED*/
}