Defining _POSIX_SEMAPHORES for cygwin

Jason Tishler jason@tishler.net
Wed Mar 27 06:03:00 GMT 2002


Rob,

On Wed, Mar 27, 2002 at 08:23:08AM +1100, Robert Collins wrote:
> > -----Original Message-----
> > From: Jason Tishler [mailto:jason@tishler.net] 
> > Sent: Wednesday, March 27, 2002 3:07 AM
> 
> > I have tried the attached patch and threaded Cygwin Python 
> > builds with semaphore support instead of conditional 
> > variables.  Is the consensus that this patch should be 
> > submitted to the newlib list?
> 
> Does it pass the test it kept crashing on?

Yes.  If it didn't, then I wouldn't be pursuing this tack.  BTW,
with Jerry's Python patch and this one, I have been able to run the
threaded regression tests for approximately 24 hours without hanging.
So, I think that this one is finally licked!

Jason



More information about the Cygwin-patches mailing list