www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/10/20:52:51

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <20090511002739.GF25909@ednor.casa.cgf.cx>
References: <9f8a01cd0905091706s6944a639m8da2f943212cc178 AT mail DOT gmail DOT com> <loom DOT 20090510T004554-316 AT post DOT gmane DOT org> <9f8a01cd0905100245m16838bb9w3c6e494d4a03a4cb AT mail DOT gmail DOT com> <loom DOT 20090510T184100-821 AT post DOT gmane DOT org> <20090510202132 DOT GB25909 AT ednor DOT casa DOT cgf DOT cx> <9f8a01cd0905101533i2902636aub172298be61599a5 AT mail DOT gmail DOT com> <20090510233629 DOT GC25909 AT ednor DOT casa DOT cgf DOT cx> <9f8a01cd0905101707x2b91f1edg33ae17ec82ab722e AT mail DOT gmail DOT com> <20090511002739 DOT GF25909 AT ednor DOT casa DOT cgf DOT cx>
Date: Mon, 11 May 2009 02:52:27 +0200
Message-ID: <9f8a01cd0905101752ue79f6f8v69b4163b02a1ff57@mail.gmail.com>
Subject: Re: How to detect a cygwin thread?
From: Piotr Wyderski <piotr DOT wyderski AT gmail DOT com>
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

Christopher Faylor wrote:

>=A0This isn't a bug in Cygwin.

I've never made a statement that it is. It's just
an unexpected and undesired behaviour I wanted
to get rid of. The context was there to make it
clear what exactly is happening on that particular
control flow path.

> Your takeaway from this is:
>
> 1) I don't care about this. =A0Not suspending the "sig" thread fixes my
> problem.

Yes, it does. And since when it happens, the
program is about to die anyway, I don't think
that tracking its exact causes is worth of my
effort.

> =A0We try hard not to call SuspendThread when the program is in the middl=
e of
> a Windows call.

I don't use the function either, except when
under abnormal circumstances, when I have
the very last chance to report a problem.

Piotr

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

- Raw text -


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