delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/01/13/07:23:41

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <416096c60901130422y1696863fn503b1efc7073ed93@mail.gmail.com>
Date: Tue, 13 Jan 2009 12:22:56 +0000
From: "Andy Koppe" <andy DOT koppe AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Signal handling in Win32 GUI programs
In-Reply-To: <496C42C7.8040104@gmail.com>
MIME-Version: 1.0
References: <496A1DBC DOT 7070004 AT gmail DOT com> <20090111163729 DOT GB9992 AT ednor DOT casa DOT cgf DOT cx> <496A24DE DOT 1080101 AT gmail DOT com> <20090111180740 DOT GC10049 AT ednor DOT casa DOT cgf DOT cx> <496A5C5D DOT 9030703 AT gmail DOT com> <20090112004125 DOT GE21040 AT ednor DOT casa DOT cgf DOT cx> <496C42C7 DOT 8040104 AT gmail DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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

2009/1/13 Andy Koppe <andy DOT koppe AT gmail DOT com>:
>  static const sigset_t term_sigs =
>    1<<SIGHUP | 1<<SIGKILL | 1<<SIGTERM | 1<<SIGINT;

Seems this is the problem. It needs to be done the proper way, using sigaddset.

Andy

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