Fixes for lazy locking on macos

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18088 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2003-11-16 10:53:40 +00:00
parent bb945efaf5
commit ff218e97c3
2 changed files with 26 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2003-11-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSCompatibility.m: Add dummy gcFinalize
implementations for NSLock and NSRecursiveLock so that the
lazy locking classes can safely call them under MacOS-X
2003-11-10 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSHtml.m: Fix based on email by Chris Vetter to correct

View file

@ -471,3 +471,23 @@ BOOL GSDebugSet(NSString *level)
}
@end
@implementation NSLock (GSCompatibility)
/*
* Dummy implementation of garbage collection cleanup method called by
* GSLazyLock on deallocation.
*/
- (void) gcFinalize
{
}
@end
@implementation NSRecursiveLock (GSCompatibility)
/*
* Dummy implementation of garbage collection cleanup method called by
* GSLazyRecursiveLock on deallocation.
*/
- (void) gcFinalize
{
}
@end