Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <36F28E98.D81B1F78@hem2.passagen.se> Date: Fri, 19 Mar 1999 18:51:20 +0100 From: Anders Norlander X-Mailer: Mozilla 4.01 [en] (Win95; I) MIME-Version: 1.0 To: Jason Moxham CC: cygwin AT sourceware DOT cygnus DOT com Subject: Re: Signal Handling on W95 X-Priority: 3 (Normal) References: <199903191650 DOT QAA01744 AT mir DOT maths DOT soton DOT ac DOT uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Jason Moxham wrote: > > I have a program which traps signals so that upon receiving a SIGTERM it > can exit properly by saving data files etc , > > When shutdown is activated on Windows 95 , no SIGTERM signals are sent > so data files etc may be left in an inconsistent state > > Q) What signal is sent on shutdown ? , if SIGKILL can we trap it? > > Q) If no signal is sent , what conditions can we test to allow for a > clean exit This is a windows 95 feature and it is mentioned in the win32 docs. Simply doesn't work. On NT I think cygwin sends a SIGHUP signal, although I'm not sure if it works. Regards, Anders -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com