Re: pthread_cancel+pthread_join problems when a thread executes "accept" TCP function

2011-01-28 Thread jdzstz - gmail dot com
> > Thanks for the testcase!  I applied a patch to Cygwin which should fix > this for all socket functions which potentially block. > > Please test the latest developer snapshot (create today) from > http://cygwin.com/snapshots/ > I have executed my testcase with last cygwin snapshot and works ok.

Re: pthread_cancel+pthread_join problems when a thread executes "accept" TCP function

2011-01-28 Thread Corinna Vinschen
On Jan 27 20:25, jdzstz - gmail dot com wrote: > I have detected an issue with pthread_join when the thread is > executing "accept" TCP function. > > If a thread is blocked in an accept TCP call, and a "pthread_cancel" > and "pthread_join" are called from parent, in cygwin, the > "pthread_join" is

pthread_cancel+pthread_join problems when a thread executes "accept" TCP function

2011-01-27 Thread jdzstz - gmail dot com
I have detected an issue with pthread_join when the thread is executing "accept" TCP function. If a thread is blocked in an accept TCP call, and a "pthread_cancel" and "pthread_join" are called from parent, in cygwin, the "pthread_join" is blocked forever until "accept" ends (that maybe never end)