home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / os2 / networki / 1142 < prev    next >
Encoding:
Text File  |  1992-08-27  |  1.7 KB  |  38 lines

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