delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:reply-to:subject:references:to:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=w/xO692tT7ripqg/ | |
rT/qA9y4n2u/6zH9aEEk0825iszreXCQ2p+NbmRFPp3fOnHWY7eq8EvSwW1CVkcc | |
weKx5Bqt+Cqo7GIxFbOApp0lElReelytYjePZjfdAEb/cAtBrf5Q/rZOS8pWVe2g | |
C1Nbwupr8EqkhTrE4AOGi02DMYY= | |
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id |
:list-unsubscribe:list-subscribe:list-archive:list-post | |
:list-help:sender:reply-to:subject:references:to:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=s5IxtWTfMm0uTE0QQoo/yt | |
r/1QQ=; b=nPEp/EHFwGFOvBFdCXu3DT9T63EyHmMgidLUudDez3JQvasSGQ8+L3 | |
KRPVULSqOeSWubhFjLxXpEKXk90FfdpIEkI27c04zg+RZYxa0Ki42zPX9lpiNb+1 | |
uMXSOxNJn6zmRgzqJZALvFLxhgwcZJX9wRMNFrFahDYj0yek+1k9s= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-1.2 required=5.0 tests=AWL,BAYES_20,KAM_LAZY_DOMAIN_SECURITY,RP_MATCHES_RCVD autolearn=ham version=3.3.2 |
X-HELO: | csmail.cs.umass.edu |
Reply-To: | moss AT cs DOT umass DOT edu |
Subject: | Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.2.0-0.2 |
References: | <announce DOT 20150722151440 DOT GK3864 AT calimero DOT vinschen DOT de> <55AFB7BE DOT 9040307 AT cs DOT umass DOT edu> <20150722160623 DOT GM3864 AT calimero DOT vinschen DOT de> |
To: | cygwin AT cygwin DOT com |
From: | Eliot Moss <moss AT cs DOT umass DOT edu> |
Message-ID: | <55AFD103.1070302@cs.umass.edu> |
Date: | Wed, 22 Jul 2015 13:21:07 -0400 |
User-Agent: | Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <20150722160623.GM3864@calimero.vinschen.de> |
X-IsSubscribed: | yes |
On 7/22/2015 12:06 PM, Corinna Vinschen wrote: > On Jul 22 11:33, Eliot Moss wrote: >> On 7/22/2015 11:14 AM, Corinna Vinschen wrote: >> >>> NEW: sigsetjmp and siglongjmp were only implemented as macros so far. >>> POSIX requires functions longjmp and siglongjmp to exist. 2.2.0-0.2 >>> adds sigsetjmp and siglongjmp functions. >>> >>> 2.2.0 comes with four new functions: getcontext, setcontext, >>> makecontext and swapcontext. >> >> So I am wondering if signal handlers now have access to the full context, >> including register values. There was at one time a desire to port Jikes RVM, >> a research Java Virtual Machine, to cygwin, to get it running under Windows. >> Lack of ability to obtain and modify the ucontext in a signal handler was >> the sticking point. (It was needed in the case of, say, a null pointer >> exception, to fake up the throwing of the Java exception when the signal >> handler returns.) > > The full ucontext is available to signal handlers since Cygwin 2.0.4 if > sigaction is called with the SA_SIGINFO flag set, courtesy of Jon > Turney's efforts. > > New in 2.2.0 is only the matching implementation of the aforementioned > functions. > > Please note that the ucontext_t and mcontext_t types are platform > specific. The mcontext_t type reflects the Windows CONTEXT type more > than the Linux mcontext_t type. > > For the ucontext_t type see /usr/include/sys/ucontext.h > For the mcontext_t type see /usr/include/cygwin/signal.h Thanks! Helpful to know! Eliot -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |