delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/04/20/13:17:57

X-Spam-Check-By: sourceware.org
Date: Fri, 20 Apr 2007 13:17:38 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: cygwin1.dll POSIX signal emulation mechanism
Message-ID: <20070420171738.GB28376@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20070420150318 DOT GA96830 AT ice DOT 42 DOT org> <011e01c7835e$bc3653f0$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <002001c78363$8571d7e0$905587a0$@com> <4628E518 DOT 1040806 AT byu DOT net>
Mime-Version: 1.0
In-Reply-To: <4628E518.1040806@byu.net>
User-Agent: Mutt/1.5.11
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

On Fri, Apr 20, 2007 at 10:06:48AM -0600, Eric Blake wrote:
>According to David Xiao on 4/20/2007 9:49 AM:
>>In win32 sub-system there is no signal or sig-stack facilities.  I am
>>quite curious how cygwin1.dll can do that?  What's the mysterious part
>>of it?
>>
>>As I knew, user-mode thread library such as pthread (POSIX thread) can
>>be implement in use of signal.  So signal facilies emulation is quite
>>essential part to full implement a POSIX sub-system like cygwin does.
>>
>>I wish some can share with experience on this topic: How does cygwin
>>provide signal facilities?
>
>It's open source - why don't you read it to find out for yourself?
>
>http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/how-signals-work.txt?cvsroot=src

For the record, the signal handling in cygwin is one of the most
complicated parts of the whole DLL.  The how-signals-work.txt file does
talk about some of it but it is, unfortunately, incomplete and
out-of-date.

cgf

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