Re: How to detect a cygwin thread?

2009-05-10 Thread Piotr Wyderski
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

Re: How to detect a cygwin thread?

2009-05-10 Thread Piotr Wyderski
machine state description as possible. Mostly OS-specific guts far beyond POSIX specs and definitely nothing portable. Best regards Piotr Wyderski -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http

Re: How to detect a cygwin thread?

2009-05-10 Thread Piotr Wyderski
by the user himself is a difficult and painstaking challenge. Best regards Piotr Wyderski -- 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/

Re: How to detect a cygwin thread?

2009-05-10 Thread Piotr Wyderski
Christopher Faylor wrote: > The closest API to it would be a call to > cygwin_internal(CW_GETTHREADNAME, ); Now it works like a charm. The internal thread which suspension leads to program hangup is named "sig". >  This is an as-is undocumented interface and we make no guarantees that its > beha

Re: How to detect a cygwin thread?

2009-05-10 Thread Piotr Wyderski
am remember its own threads and > only suspend those? No, the snapshot should be as exact as possible, including "alien" threads. It has already proven to be of key importance. Best regards Piotr Wyderski -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Pro

How to detect a cygwin thread?

2009-05-09 Thread Piotr Wyderski
t;This function gives you access to various internal data and functions", so perhaps it could help me? If not, then how do I achieve the goal specified above? Best regards Piotr Wyderski -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygw

[bug] Missing winapi symbols

2007-03-30 Thread Piotr Wyderski
stops the phase of linking of my program with an unrecoverable error. Best regards Piotr Wyderski -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: