Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
X-Authentication-Warning: shell-1.enteract.com: fcy set sender to fred@ontosys.com using -f
Date: Fri, 27 Apr 2001 10:47:23 -0500
From: Fred Yankowski <fred@ontosys.com>
To: cygwin@cygwin.com
Subject: Re: Cygwin service doesn't get NT shutdown notification
Message-ID: <20010427104723.B63579@enteract.com>
References: <20010426113527.A99410@enteract.com> <3AE8215E.30294.3E93F1@localhost> <20010426181503.C360@redhat.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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@OntoSys.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

