X-Spam-Check-By: sourceware.org
Message-ID: <45EF36D7.7000701@t-online.de>
Date: Wed, 07 Mar 2007 23:04:07 +0100
From: Christian Franke <Christian.Franke@t-online.de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2pre) Gecko/20070111 SeaMonkey/1.1
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: Cygwin speed
References: <45E86FFD.7060301@princeton.edu> <45E876FA.7401B017@dessent.net> <20070305011713.GG6734@ns1.anodized.com> <45EF1CED.608@t-online.de> <loom.20070307T221839-665@post.gmane.org>
In-Reply-To: <loom.20070307T221839-665@post.gmane.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-ID: SOU5oyZ1QegBaiPXvPuzIDWsZlwop83L+-imEz81lonflSa25RGfwy
X-TOI-MSGID: e4939601-fb81-4d43-a71d-26d14ba9f76b
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Eric Blake wrote:
> ...
> And the way I see it, if the mask is unchanged, then any signal that was 
> unblocked before calling sigprocmask() should have already fired.  In other 
> words, the only signals that sigprocmask() HAS to worry about are signals that 
> just changed to unmasked;...
>   

To handle this case, wouldn't it be necessary to call 
sig_dispatch_pending() *after* set_signal_mask() has unblocked the signal?

Christian


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

