home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.networking
- Path: sparky!uunet!snorkelwacker.mit.edu!vaxeline.ftp.com!tunes!backman
- From: backman@vax (Larry Backman)
- Subject: Re: TCP/IP System Shutdown WIBNI
- Message-ID: <920827120012@tunes>
- Nntp-Software: PC/TCP NNTP
- Lines: 23
- Sender: root@vaxeline.ftp.com (vaxeline.ftp.com root account)
- Nntp-Posting-Host: tunes.ftp.com
- Organization: FTP Software, Inc., Wakefield, MA
- References: <92238.095918NLAFLAMM@vma.cc.nd.edu> <1992Aug26.153224.25379@ans.net>
- Date: Thu, 27 Aug 1992 12:00:12
-
- >>
- >> >Wouldn't it be nice if when I shutdown OS/2 from the desktop, I wasn't
- >> >prompted about whether I wanted to kill the various OS/2 server tasks,
- >> >such as SendMail, LPRMon, and any others running? I'm not an OS/2
- >> >programmer, but most of my OS/2 apps go away quietly when I shutdown my
- >> >system. I presume most apps respond to some kind of signal which the
- >> >TCP/IP 1.2.1 servers ignore for the most part.
- >>
- >> The only applications that can go away automatically are PM applications.
- >> There are special PM messages that the WPS sends to each application to let
- >> it know that a shutdown has been requested. The applications are then
- >> supposed to do whatever is necessary to save their state and shut down
- >> (and some may prompt you just as if you selected their "Exit" menu item),
- >> and then tell the WPS whether or not they agree to the shutdown.
-
- IFS's also get a FS_SHUTDOWN call (2 in fact) frm the OS telling them that to
- clean up shop and go away. I had a very amusing bug where I blocked
- the OS from shutting down while waiting to timeout an RPC to an NFS
- server that had gone away. 45 seconds later...the RPC timed out,
- returned from FS_SHUTDOWN and the system shut down.
-
- Larry Backman
- FTP Software
-
-