Subject: The right place for doshutdownhooks()
To: None <ghudson@MIT.EDU, email@example.com>
From: Gordon W. Ross <firstname.lastname@example.org>
Date: 11/20/1995 11:40:51
> Date: Mon, 20 Nov 1995 00:49:37 EST
> From: Greg Hudson <ghudson@MIT.EDU>
> > The message printed in boot.c says that the machine is down. That
> > means that THE MACHINE IS DOWN.
> So by this reasoning, we can't be willing to accept a keypress,
> because a machine that's down obviously can't respond to keypresses.
When a port does the "pres a key" halt simulation, the console
shutdown can easily be made a special case. If the console needs
any shutdown function call, just do that in your boot() function.
This way, the shutdown hooks can be called before the wait.