delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/27/12:07:55

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Authentication-Warning: shell-1.enteract.com: fcy set sender to fred AT ontosys DOT com using -f
Date: Fri, 27 Apr 2001 10:47:23 -0500
From: Fred Yankowski <fred AT ontosys DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin service doesn't get NT shutdown notification
Message-ID: <20010427104723.B63579@enteract.com>
References: <20010426113527 DOT A99410 AT enteract DOT com> <3AE8215E DOT 30294 DOT 3E93F1 AT localhost> <20010426181503 DOT C360 AT redhat DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <20010426181503.C360@redhat.com>; from cgf@redhat.com on Thu, Apr 26, 2001 at 06:15:03PM -0400

On Thu, Apr 26, 2001 at 06:15:03PM -0400, Christopher Faylor wrote:
> I assume that this problem actually has something to do with the way
> Cygwin handles signals and the way it traps things like "shutdown
> events".

That's one of my favorite hypotheses as well.

> Inspection of Cygwin code would probably be pretty enlightening in
> that regard.

I'm sorry to say that I spent several hours pouring over the source
for the cygwin package and couldn't find enlightenment.  I just don't
understand much of the Cygwin architecture.  If someone can steer me
in the right direction or give me something to focus on, I will
happily dive back into the code.

> It's possible that just setting a SIGHUP handler will be adequate to fix
> this problem.

That never occured to me as the IPC involved would seem to be of a
strictly Windows flavor.  None the less, it's an intriguing idea and
I'll give it a shot.

-- 
Fred Yankowski           fred AT OntoSys DOT com      tel: +1.630.879.1312
Principal Consultant     www.OntoSys.com       fax: +1.630.879.1370
OntoSys, Inc             38W242 Deerpath Rd, Batavia, IL 60510, USA

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019