How to detect a cygwin thread?

Piotr Wyderski
Mon May 11 00:52:00 GMT 2009

Christopher Faylor wrote:

> This 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.  Not 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

>  We try hard not to call SuspendThread when the program is in the middle 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.


Unsubscribe info:
Problem reports:

More information about the Cygwin mailing list