X-Spam-Check-By: sourceware.org Date: Fri, 2 Dec 2005 18:56:56 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Samuel Thibault cc: cygwin AT cygwin DOT com Subject: Re: SA_SIGINFO and signal info ? In-Reply-To: <20051202230909.GM10913@bouh.residence.ens-lyon.fr> Message-ID: References: <20051202230909 DOT GM10913 AT bouh DOT residence DOT ens-lyon DOT fr> 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 Sat, 3 Dec 2005, Samuel Thibault wrote: > Hi, > > Cygwin defines SA_SIGINFO, but it doesn't seem to be implemented: the > following program gets in "info" just 0x0 or a strange pointer. Could > it be supported somehow? The bit of information I'd really need is > info->si_code, so as to know whether the signal is sent by "kernelspace" > (because of alarm, setitimer, ...) or by "userspace" (kill, raise). AFAICS, this should work in the snapshots, according to . Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! If there's any real truth it's that the entire multidimensional infinity of the Universe is almost certainly being run by a bunch of maniacs. /DA -- 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/