Overflow cygthreads (those which use simplestub) don't set notify_detached event which may cause timer_delete to hung

2011-08-25 Thread Rafal Zwierz
Hi, I think that this is a problem in cygthreads, but since I have been looking at cygwin for less than two weeks I might as well be quite mistaken. The problem can be reproduced with Cygwin 1.7.9-1 and also with today's checkout of the code. To repro run this program form the attachment

Re: Overflow cygthreads (those which use simplestub) don't set notify_detached event which may cause timer_delete to hung

2011-08-25 Thread Christopher Faylor
On Thu, Aug 25, 2011 at 08:06:08PM +0100, Rafal Zwierz wrote: * cygthread.cc (cygthread::simplestub): Notify that the thread has detached also in freerange thread case. Looks good. I'll check this in. Thanks. cgf

Extend faq.using to discuss fork failures

2011-08-25 Thread Ryan Johnson
Hi all, Based on the feedback on cygwin-dev, I've put together a revised pair of faq.using entries: one listing briefly the symptoms of fork failures and what to do about it, and the other giving some details about why fork fails (sometimes in spite of everything we do to compensate).