delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/19/06:35:36

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
Message-ID: <4174EDE7.6030503@iml.univ-mrs.fr>
Date: Tue, 19 Oct 2004 12:35:19 +0200
From: Antoine Rauzy <arauzy AT iml DOT univ-mrs DOT fr>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.0.2) Gecko/20030208 Netscape/7.02
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Capture of the signal SIGINT under Windows XP

Problem with the capture of the signal SIGINT under Windows XP:
I develop a program in C++ using Visual C++.
This program captures interruptions, that is SIGINT signals generated 
with a CTRL-C
when the program is executed in a cygwin bash interpreter.
Under Windows 2000, the signal is sent only to the program, so the 
capture works fine.
Under Windows XP, it seems that the signal is sent not only to the 
program, but
also to the bash interpreter (or I don't know what else), causing the 
program exit.
Note that I use exactly the same Visual C++ project to compile the program
under both 2000 and XP.
Could someone help me to understand and fix that problem ?

Best regards -- Antoine Rauzy

-- 
Antoine RAUZY					
Institut de Mathématiques de Luminy	tel+fax +33 4 91 26 96 34
163, avenue de Luminy, Case 907		mobile  +33 6 89 98 95 06
13288 Marseille CEDEX 9 FRANCE		email : arauzy AT iml DOT univ-mrs DOT fr




--
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/

- Raw text -


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