delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
From: | "Vankemmel Rudi" <rudi DOT vankemmel AT belgacom DOT net> |
To: | <cygwin AT cygwin DOT com> |
Subject: | RE: Problem: SIGCONT handler is not called (Cygwin or Bash problem ?) |
Date: | Wed, 8 Sep 2004 13:21:04 +0200 |
Message-ID: | <NHBBIABLOLDEEPDACCMKGEAICAAA.rudi.vankemmel@belgacom.net> |
MIME-Version: | 1.0 |
All, i tried this also under ash and tcsh: same result. The SIGCONT handler is never called and the program blocks. Therefore i do think the problem is not shell related. On Unix systems (as far as i remember it) it is normally the kernel that sets/clears the user area of the program stack, including the address pointer of the signal handler and the return address where to resume normal execution. How does this happen on Cygwin ? Is this handled by the Cygwin1.dll ? If so, does this mean it is broken for SIGCONT handling ? PS: Could anyone reproduce the problem using the test programs i sent ? I'm rather in the dark on what is happening and why. best regards, Rudi -----Original Message----- From: Vankemmel Rudi Sent: maandag 6 september 2004 8:19 To: cygwin AT cygwin DOT com Subject: Problem: SIGCONT handler is not called (Cygwin or Bash problem ?) ....... My problem is that the SIGCONT handler is never triggered (as it seems to me). I could reduce the problem into the following code snippets. ..... Questions: 1) is there a problem with the SIGCONT handling in CYGWIN ? Why is it never called or is SIGCONT not delivered ? 2) what is the signal delivery scheme in Cygwin for SIGCONT i.e. what is called first after issueing a shell - fg command ? 3) or do i miss something in my code here that would be specific for Cygwin (i tested it on various other Unix platforms with success) ? Rudi Vankemmel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |