Applied to trunk at rev 6413. Thanks, Kai
2013/12/12 Dongsheng Song <dongsheng.s...@gmail.com>: > ~/vcs/svn/mingw-w64/trunk/mingw-w64-libraries/winpthreads/src$ svn diff . > Index: spinlock.c > =================================================================== > --- spinlock.c (revision 6412) > +++ spinlock.c (working copy) > @@ -114,7 +114,10 @@ > > spin = (spin_t*)*lock; > if (spin->owner && spin->owner != GetCurrentThreadId ()) > - return EPERM; > + { > + leave_global_cs (); > + return EPERM; > + } > > DeleteCriticalSection (&spin->section); > free (spin); > > > ------------------------------------------------------------------------------ > Rapidly troubleshoot problems before they affect your business. Most IT > organizations don't have a clear picture of how application performance > affects their revenue. With AppDynamics, you get 100% visibility into your > Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics > Pro! > http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > Mingw-w64-public mailing list > Mingw-w64-public@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public