|
From: | Gregory John Casamento |
Subject: | [bug #25307] [NSConditionLock tryLockWhenCondition:] shouldn't throw exception when lock is unavailable |
Date: | Sat, 17 Jan 2009 17:52:14 +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 #3, bug #25307 (project gnustep): The point of "tryLock" and "tryLockWhenCondition:" is to attempt to do the lock and return NO, if it can't. For it to return an exception seems wrong in any case. In my opinion it should return NO whether a single thread attempts to lock the same lock twice or not. I believe what we need is a minimal test case to determine how this behaves on Mac OS X. I will go ahead and write one and attach it here. GC _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?25307> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |