[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Please test new NSLock implementation!
From: |
Philippe Roussel |
Subject: |
Re: Please test new NSLock implementation! |
Date: |
Wed, 02 Sep 2009 18:04:53 +0200 |
Le mercredi 02 septembre 2009 à 16:39 +0100, David Chisnall a écrit :
> On 2 Sep 2009, at 16:40, Philippe Roussel wrote:
>
> > Hi David
> >
> > It no longer locks but emits 2 FAILs
> >
> > FAIL: Recursive lock with NSLock raises an exception
> > FAIL: Recursive lock with NSConditionLock raises an exception
> >
> > Is that what you expexted ?
>
> Yup, these are now expected fails (I haven't updated the tests). OS X
> doesn't throw this exception either, but it deadlocks (which was the
> behaviour you were seeing before, but OS X also logs a warning, which
> you weren't seeing).
A detail : you might want to change the NSException format string used
in -(void)lock methods. It now reads "failed to _unlock_ mutex".
Philippe
Re: Please test new NSLock implementation!, Richard Frith-Macdonald, 2009/09/02
Re: Please test new NSLock implementation!, Fred Kiefer, 2009/09/02
- Message not available
- Re: Please test new NSLock implementation!, Fred Kiefer, 2009/09/03
- Re: Please test new NSLock implementation!, Wolfgang Lux, 2009/09/04
- Re: Please test new NSLock implementation!, Scott Christley, 2009/09/04
- Re: Please test new NSLock implementation!, David Chisnall, 2009/09/04
- Re: Please test new NSLock implementation!, Fred Kiefer, 2009/09/04
- Re: Please test new NSLock implementation!, David Chisnall, 2009/09/04
- Re: Please test new NSLock implementation!, Fred Kiefer, 2009/09/04