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=DFJR96/xqpvIQ+Cv 8zkS7KRuYFljqKrCPyB1v4vw2BFhC16IBgjL32LgM7kjlHvJ7q7l4XqEuAwogLSR 8Nr8YCZg6nhFwFOXAnRbNshzPeUVcGzCchVJZtmS5Ro0axsMHMrk+TlgY69JUELa 77tXf+6VUhI+VtYhAo0xzyBl3wo= 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=rxEL/RJPc79Tu7co01pn2N Dbm10=; b=fu1d6ZTGX7QEVkp/RLm9xhNnkNcjFCmMgdKk5+nDenLZWULafngxhu kKMll0M4UnRR5goXUYlsnJpd+p85OAMnc3N/1/z9nooDjEzlBMwdg0ax8GlRfzgq ovZ2lKNm+YkjsQNsJ35kSLGmK/noCZoWbNyN6FyJM/yCbrp2EpMyI= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.3 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: To: cygwin AT cygwin DOT com From: Eliot Moss Message-ID: <55AFB7BE.9040307@cs.umass.edu> Date: Wed, 22 Jul 2015 11:33:18 -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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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.) Regards -- Eliot Moss -- 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