mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-26 18:21:04 +00:00
Move NSLog to NSDebugLog for the WARNING.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28203 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
3d07410be3
commit
4fa65f0c82
2 changed files with 5 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2009-04-11 01:12-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||||
|
|
||||||
|
* Source/NSLock.m: Move the warning to a debug log.
|
||||||
|
|
||||||
2009-04-10 Richard Frith-Macdonald <rfm@gnu.org>
|
2009-04-10 Richard Frith-Macdonald <rfm@gnu.org>
|
||||||
|
|
||||||
* Source/GSPrivate.h:
|
* Source/GSPrivate.h:
|
||||||
|
|
|
@ -449,7 +449,7 @@ NSString *NSRecursiveLockException = @"NSRecursiveLockException";
|
||||||
{
|
{
|
||||||
if ((_MUTEX)->owner == objc_thread_id())
|
if ((_MUTEX)->owner == objc_thread_id())
|
||||||
{
|
{
|
||||||
NSLog(@"WARNING: Thread attempted to recursively tryLock : %@", self);
|
NSDebugLog(@"WARNING: Thread attempted to recursively tryLock : %@", self);
|
||||||
return NO;
|
return NO;
|
||||||
}
|
}
|
||||||
// Ask the runtime to acquire a lock on the mutex
|
// Ask the runtime to acquire a lock on the mutex
|
||||||
|
|
Loading…
Reference in a new issue