Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <36F28E98.D81B1F78@hem2.passagen.se>
Date: Fri, 19 Mar 1999 18:51:20 +0100
From: Anders Norlander <anorland@hem2.passagen.se>
X-Mailer: Mozilla 4.01 [en] (Win95; I)
MIME-Version: 1.0
To: Jason Moxham <jlm@maths.soton.ac.uk>
CC: cygwin@sourceware.cygnus.com
Subject: Re: Signal Handling on W95
X-Priority: 3 (Normal)
References: <199903191650.QAA01744@mir.maths.soton.ac.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@sourceware.cygnus.com

