X-Spam-Check-By: sourceware.org Date: Wed, 4 Jan 2006 13:38:32 -0500 (EST) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: John Buttitto cc: cygwin AT cygwin DOT com Subject: Re: Signals In-Reply-To: <39130.205.158.232.66.1136399127.squirrel@205.158.232.66> Message-ID: References: <39130 DOT 205 DOT 158 DOT 232 DOT 66 DOT 1136399127 DOT squirrel AT 205 DOT 158 DOT 232 DOT 66> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Wed, 4 Jan 2006, John Buttitto wrote: > I wrote some simeple test code in Java to trap signals. Seems to work > well, I then ported it to cygwin. The code listens for the SIGINT and If you really mean Java here, this is off-topic for this list, as it has nothing to do with Cygwin. There are no JVMs linked with Cygwin -- they are all native Win32 applications. As such, they are unlikely to understand Cygwin signals. > prints a message. When I hit Ctrl-C while it is running the proper signal > gets sent and traped. > > I then go to a second shell/Window and do a ps on the process running and > try to send a kill -s SIGINT . In cygwin this does not work the > process dies with out traping the signal. > > Was wondering if anyone else ran into this and what silly thing I am doing > that causes the issue? I think we need to see a small reproducible testcase, with the exact instructions on how to reproduce your problem. We also need to see the details of your problem, as requested in the Cygwin problem reporting guidelines at (please read the *whole* document before replying). Note that a Java testcase won't do, as the JVM is not a Cygwin executable. HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com ZZZzz /,`.-'`' -. ;-;;,_ Igor Peshansky, Ph.D. (name changed!) |,4- ) )-,_. ,\ ( `'-' old name: Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte." "But no -- you are no fool; you call yourself a fool, there's proof enough in that!" -- Rostand, "Cyrano de Bergerac" -- 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/