X-Spam-Check-By: sourceware.org Message-ID: <4628E518.1040806@byu.net> Date: Fri, 20 Apr 2007 10:06:48 -0600 From: Eric Blake User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070221 Thunderbird/1.5.0.10 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: cygwin1.dll POSIX signal emulation mechanism References: <20070420150318 DOT GA96830 AT ice DOT 42 DOT org> <011e01c7835e$bc3653f0$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <002001c78363$8571d7e0$905587a0$@com> In-Reply-To: <002001c78363$8571d7e0$905587a0$@com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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 - -- Don't work too hard, make some time for fun as well! Eric Blake ebb9 AT byu DOT net -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGKOUX84KuGfSFAYARAhAGAJ9BHkX5MyfuABTVh4/Ta6NkB+OLDwCfddYl Kvmd83sE+7eW4PkMl8yJ8TA= =K9C1 -----END PGP SIGNATURE----- -- 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/