X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-7.5 required=5.0 tests=AWL,BAYES_00,KHOP_PGP_SIGNED,KHOP_SPAMHAUS_DROP,KHOP_THREADED,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <50E49E37.1060200@dancol.org> Date: Wed, 02 Jan 2013 12:53:11 -0800 From: Daniel Colascione User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Intermittent failures retrieving process exit codes - snapshot test requested References: <20121222024943 DOT GA5773 AT ednor DOT casa DOT cgf DOT cx> <20121222031430 DOT GA8355 AT ednor DOT casa DOT cgf DOT cx> <50D57818 DOT 1070706 AT gmail DOT com> <20121222175041 DOT GA14475 AT ednor DOT casa DOT cgf DOT cx> <20121223165621 DOT GA9935 AT ednor DOT casa DOT cgf DOT cx> <50DCB454 DOT 9030400 AT coverity DOT com> <20121229215725 DOT GA18847 AT ednor DOT casa DOT cgf DOT cx> <50E23F98 DOT 1060004 AT coverity DOT com> <20130101053606 DOT GB18911 AT ednor DOT casa DOT cgf DOT cx> <50E48743 DOT 5040401 AT coverity DOT com> <20130102204821 DOT GA6524 AT ednor DOT casa DOT cgf DOT cx> In-Reply-To: <20130102204821.GA6524@ednor.casa.cgf.cx> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA9E34F2CC7E9B4DB2B615D85" 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 --------------enigA9E34F2CC7E9B4DB2B615D85 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 1/2/13 12:48 PM, Christopher Faylor wrote: > I managed to duplicate a hang by really stressing ctrl-c a loop. It > uncovers some rather amazing Windows behavior which I have to think > about. Apparently ExitThread can be called recursively within the > thread that Windows creates to handle CTRL-C. What do you mean? ExitThread should never return, and I can't imagine anything on the thread termination path calling ExitThread again, especially not once the thread jumps to kernel mode. --------------enigA9E34F2CC7E9B4DB2B615D85 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (Darwin) Comment: GPGTools - http://gpgtools.org iEYEARECAAYFAlDknjkACgkQ17c2LVA10VvFlwCg4My5NXMh4QgOk8/d+e582TBS 4lAAnRLPktQXabJGrpnTbARBP409z2zg =bUsM -----END PGP SIGNATURE----- --------------enigA9E34F2CC7E9B4DB2B615D85--