Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!uwm.edu!bionet!agate!stanford.edu!neon.Stanford.EDU!flamingo.Stanford.EDU!espie From: espie@flamingo.Stanford.EDU (Marc Espie) Newsgroups: comp.sys.amiga.programmer Subject: Shutting down the OS. Was Re: Copper mystery Message-ID: <1991Mar29.234813.2606@neon.Stanford.EDU> Date: 29 Mar 91 23:48:13 GMT References: <1991Mar27.211732.2436@kth.se> <2112@pdxgate.UUCP> <545@lysator.liu.se> Sender: news@neon.Stanford.EDU (USENET News System) Organization: LIENS, ENS, 45 rue d'Ulm, Paris (France) Lines: 18 Another thing to do before shutting down the OS. Check if the user has any critical stuff running (essentially a busy serial device). If that's the case, check with him whether he wants to really shut down the OS. That's very nasty to get a download trashed just because you didn't remember this damn demo killed your os. Such demos end in the trashcan pretty fast. Also, if you use Forbid() occasionnally, try *by all means* to see whether it is running concurrently with a serial program (set the serial buffer to a small size, like 1K). If it doesn't, you forbid too long. (From the RKM: disabling the os for a long period of time is a bad idea. Not in the RKM:... essentially because of the serial.device proper operation) Thank you for listening :-) -- Marc Espie (espie@flamingo.stanford.edu)