Re: pthread_create() slowdown with concurrent sched_yield()

2017-03-09 Thread Corinna Vinschen
On Mar 8 18:00, Dan Bonachea wrote: > On Wed, Mar 8, 2017 at 11:48 AM, Corinna Vinschen > wrote: > > > > Thanks for the thorough analysis and especially the testcase! > > > > I applied a fix for this problem and uploaded new developer snapshots > > to https://cygwin.com/snapshots/ > > > > Please

Re: pthread_create() slowdown with concurrent sched_yield()

2017-03-08 Thread Dan Bonachea
On Wed, Mar 8, 2017 at 11:48 AM, Corinna Vinschen wrote: > > Thanks for the thorough analysis and especially the testcase! > > I applied a fix for this problem and uploaded new developer snapshots > to https://cygwin.com/snapshots/ > > Please give them a try. Hi Corinna - Thanks for the quick re

Re: pthread_create() slowdown with concurrent sched_yield()

2017-03-08 Thread Corinna Vinschen
On Mar 7 16:19, Dan Bonachea wrote: > I suspect I may have discovered a corner-case performance bug in > Cygwin's pthread_create() implementation. The problem arises when a > call to pthread_create() is made concurrently with multiple pthreads > in the same process spinning on calls to sched_yield