From 2b020d9f523625f7a73ffa716dda04306d19eeb8 Mon Sep 17 00:00:00 2001 From: Jens Ayton Date: Thu, 2 Aug 2012 19:09:08 +0000 Subject: [PATCH] More build fixage. git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@5163 127b21dd-08f5-0310-b4b7-95ae10353056 --- src/Core/NSThreadOOExtensions.h | 23 ++--------------------- src/Core/NSThreadOOExtensions.m | 30 ------------------------------ 2 files changed, 2 insertions(+), 51 deletions(-) diff --git a/src/Core/NSThreadOOExtensions.h b/src/Core/NSThreadOOExtensions.h index ee6d964f..452cfa68 100644 --- a/src/Core/NSThreadOOExtensions.h +++ b/src/Core/NSThreadOOExtensions.h @@ -2,7 +2,7 @@ NSThreadOOExtensions.h -Utility methods for NSThread and NS*Lock. +Utility methods for NSThread. Copyright (C) 2007-2012 Jens Ayton @@ -34,27 +34,8 @@ SOFTWARE. @interface NSThread (OOExtensions) // Set name of current thread for identification during debugging. +// Under OS X, this does more than -setName:. + (void) ooSetCurrentThreadName:(NSString *)name; @end - -@interface NSLock (OOExtensions) - -- (void) ooSetName:(NSString *)name DEPRECATED_MSG("Use setName: instead."); - -@end - - -@interface NSRecursiveLock (OOExtensions) - -- (void) ooSetName:(NSString *)name DEPRECATED_MSG("Use setName: instead."); - -@end - - -@interface NSConditionLock (OOExtensions) - -- (void) ooSetName:(NSString *)name DEPRECATED_MSG("Use setName: instead."); - -@end diff --git a/src/Core/NSThreadOOExtensions.m b/src/Core/NSThreadOOExtensions.m index f58e2c4e..d79d0460 100644 --- a/src/Core/NSThreadOOExtensions.m +++ b/src/Core/NSThreadOOExtensions.m @@ -53,33 +53,3 @@ SOFTWARE. } @end - - -@implementation NSLock (OOExtensions) - -- (void) ooSetName:(NSString *)name -{ - [self setName:name]; -} - -@end - - -@implementation NSRecursiveLock (OOExtensions) - -- (void) ooSetName:(NSString *)name -{ - [self setName:name]; -} - -@end - - -@implementation NSConditionLock (OOExtensions) - -- (void) ooSetName:(NSString *)name -{ - [self setName:name]; -} - -@end