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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; q=dns; s= default; b=YJQExUNan/hpLXeM9OmS7BKU/ZT2G9BCAciCfZastyGQnaZG6Y4Mw zFGv5CCq3gRqN0IVE2ynIzQyovDP+EFNkg/U6FELXYsL+QhbW6qQyo0Sh58PJIcJ H4HbFsqlssjkHsj0o6pnUqhiOYxAZiyk4jcrIvhW64eCMhqrmbugMg= 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:date:from:to:subject:message-id:reply-to :references:mime-version:content-type:in-reply-to; s=default; bh=cCaugVJn8/3i2iRcxA9bPfS1a8Y=; b=HFsZouVjHKd9n5yscJ7QYfH7RqiU H65MhpmupsNqS180l/zLWoKtBX3eIbt3yOpEEzb02gkEXaTVbouPUp8BJY8Aag6A iTj0/J4Mv0Dbvnp500zgjpU0XnZhzPWfpYYf0EI31D5GRWYvjBWNcPMF+zK5J6i8 zapY4/3AZdhc35w= 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=-101.9 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Misch, noah, misch, Noah X-HELO: drew.franken.de Date: Fri, 4 Aug 2017 19:02:54 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Signal delivered while blocked Message-ID: <20170804170254.GM25551@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20170804074445 DOT GB3154757 AT rfd DOT leadboat DOT com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ZOudaV4lSIjFTlHv" Content-Disposition: inline In-Reply-To: <20170804074445.GB3154757@rfd.leadboat.com> User-Agent: Mutt/1.8.3 (2017-05-23) --ZOudaV4lSIjFTlHv Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Aug 4 00:44, Noah Misch wrote: > The attached demonstration program blocks signals (with sigprocmask()) to > achieve mutual exclusion between signal handlers. It aborts upon receipt= of a > blocked signal. On "CYGWIN_NT-10.0 2.7.0(0.306/5/3) 2017-02-12 13:18 x86= _64", > signals regularly arrive despite being blocked. Essential parts of the > program include handling two signal numbers and having handlers run for at > least 1-2ms; this problem goes away if I remove one of those attributes. > GNU/Linux, AIX, Solaris, and "CYGWIN_NT-6.0 1.7.27(0.271/5/3) 2013-12-09 = 11:57 > i686" never deliver a blocked signal to this program. I think this Cygwin > behavior is non-conforming. Thanks for the testcase. I debugged this a while today but the problem is far from trivial, apparently. Don't hold your breath for a quick solution. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --ZOudaV4lSIjFTlHv Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJZhKi+AAoJEPU2Bp2uRE+g5mgQAKY0rIJ4/KZW9X04MiuMh17m X42puZHpKwKwCjUf8I0gpomg572EzZTXP9S0+upLNNaz1Jw7ntOx0JR2FqzqqTwf a29UTt97adRvzbay/yUszttSzskow5gszzoqDXYpdpdAtMdORgGd4KsIEqzJpXTN m+ks2p70Ji8E3dJh25xdAFGvsC4MLf+XzSfWvo0uGkKwz00THNUvoOotLexSdHiW 2iePDCDdpFm0Biu33xjHb9o+bkxAx4vmh3VqZ6BZ9AXh8T+W52BhiRBbSAhS1PYJ Dp7bVx8DYAb1k8XVdRVZuh2+tCtdp+Yx0LYbmAGhVHD68aOFT7vlfxJC9RSszsVH yb8ZTTTxu9ySaGfApYJwtHgIJqwWDHnQQsUBW1TRj/9+4B9kBLt9r7hbiOBdBSaF Q9r+sOOK33E/GAKw7fhQfuK95G5FrgcgdB9eS9uUpp4S+wylVsun8ws4k18OjFO8 bIBuf8aiKd02300rSpHDnvzek+BOzLtcUJkB1qoEG+ekcrBY/lirGGE10Tvw5kjG SUgzY5RI0T1ASOTlI4WLDUTILbX2e4gNyN3/EbHlrOF8Jdxx+zX8YI0Y+kZBUSQ6 w3QKTzreJ/2gQa7qH0NZSYPInA0+fjR1nytDLNaBfhg5oTJp+rJnzKnT2YTVDg5N Y8j9FUBqvUH4wqHZi3NR =yK8B -----END PGP SIGNATURE----- --ZOudaV4lSIjFTlHv--