delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/07/12/11:34:54

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:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=i0Ze/LIoOvOWV7/6R2sG6ImQl11x416ZaViNxsRpLPLgrHN/JVLfR
dQ9jJrpF9fpDJ6yP/EjgCGvR0exJhP0EpWyr4NjY5bord/kmOiIEkNl8DnZRtFEY
BuYLuwYrUPxRoumljmPtRVJYTkXAgEwgsHAucJ7So0RO1Bspllcrb8=
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:cc:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=zK9toFaIDEulcr8bnJvdI+p4rc8=; b=lda0X0Eh02ZT1CKFnhgGt2uPqoxX
5auJUdjrWbem2JxAAneCBlXMlv7FG7swkATHl9TGSkO6kr3BHYHZ3H+cDC5AL7/h
mKfcb91zXjWEhm/0923mvp72dn9TPtK7W211/U4+03x+j3wncj3Q8g4MmxS1Ij3P
wL0zwi9InbnqSmE=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-104.9 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=HX-Languages-Length:755, H*F:D*cygwin.com
X-HELO: mout.kundenserver.de
Date: Fri, 12 Jul 2019 17:33:51 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: Kenton Varda <kenton AT cloudflare DOT com>
Cc: cygwin AT cygwin DOT com
Subject: Re: sigpending() incorrectly returns signals pending on other threads
Message-ID: <20190712153351.GH3772@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: Kenton Varda <kenton AT cloudflare DOT com>, cygwin AT cygwin DOT com
References: <CAJouXQne09R+j+k+ZNw5fsZTFqDG5_9iwm9KQnxHoycL+ap_KQ AT mail DOT gmail DOT com> <CAJouXQksOsqWV=pVAJrXPn2FKtAyUO3QTxpugJ9R9rLGEN91UQ AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAJouXQksOsqWV=pVAJrXPn2FKtAyUO3QTxpugJ9R9rLGEN91UQ@mail.gmail.com>
User-Agent: Mutt/1.11.3 (2019-02-01)

--CdrF4e02JqNVZeln
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jul  6 19:15, Kenton Varda wrote:
> I found a second problem which may or may not be related:
>=20
> If two threads use pthread_kill() to send each other the same signal,
> such that the signal should be separately pending on both threads at
> the same time, only one of the two signals is actually queued. It
> seems that pthread_kill() is ignored if the same signal is already
> pending on some other thread.

The current signal mechanism in Cygwin only allows for a signal to be
queued once.  Changing that is a pretty ambitioned task, which I simply
don't have enought time for.  However, patches to change that are more
than welcome.


Corinna

--=20
Corinna Vinschen
Cygwin Maintainer

--CdrF4e02JqNVZeln
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl0oqF8ACgkQ9TYGna5E
T6AGVg//ZqyYSbqcwwujptT9Tseyg7h1vpF9G3W+zT7B+0bXDXKl9FqOH8YXOEYy
LjNYr1pj0wmjf/hgajRgRKKGdZYCgQuzfadlpbJieF/J428vAVwE+dqde1N2jMV4
DUinYXlNXVwlq53nN2TtZ6Xnn/cweJEKq6m3LwNFugaJVUQUGHWkMr33kCu61cll
7e9BRvspT2h3edanaLKe7jEtcI9OvvNuc92fbRy7K3RDnrCdveULZ0QxEaxkHRql
GBUi4yKkE1mVaDs5OOoxqnjY2pbhyTNeQw8aK9FJvlLSv1WGxEzcynRbVd+whCmm
vzs3RDo69P3d6+qtTOxOD05eRevIcHjQu96WtDRISCwLSMiHjVTjcSpZfOiY6aEZ
js7jNpP2y4zHWGjMS5GksvB4pZeWgWZW+jJMAf/AXuga/EnUyCUQOBbgaF2KzWvV
Z0LVyOyhlyo1Do8+f2Qawx1tFE/oizKvDJqYh+UrD01mRv63uo3PfyUPR20KNoat
jKLhRHbPIuMTT07lTN3HgvxiFSC7Aj+gR0tf7FUvVQSZDXqUtVpC5cHnvcXBOkQT
VZLZ64YQ1LJTGaDnBzxBbo1sHGiLfwmMdS1ETdhK8T9/TZEVBWUk6M29PsZE+o2W
yGtv8YvHbGRD2UxINFS72b0iEGzCWxOKmSC9XxCpSJi3u/UFf/Q=
=YpxL
-----END PGP SIGNATURE-----

--CdrF4e02JqNVZeln--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019