bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #25307] [NSConditionLock tryLockWhenCondition:] shouldn't throw exc


From: Gregory John Casamento
Subject: [bug #25307] [NSConditionLock tryLockWhenCondition:] shouldn't throw exception when lock is unavailable
Date: Thu, 29 Jan 2009 02:48:52 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.0.14eol) Gecko/20070505 (Debian-1.8.0.15~pre080323b-0etch2) Epiphany/2.14

Follow-up Comment #7, bug #25307 (project gnustep):

I have implemented and added a test to the Testing directory which shows that
tryLock does not throw an exception when locking the same lock twice in the
same thread.

I am going to put additional tests into this test case, if necessary.  
Currently the code causes the following on GNUstep:

locktest.m:65: main: Assertion 'pass == (BOOL)1' failed.

That does not happen on Mac OS X with the same code. 

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?25307>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]