From 63e596e70cd755e8e68b078f6c0249e8217d940b Mon Sep 17 00:00:00 2001 From: Andrew McCallum Date: Sun, 12 May 1996 00:38:07 +0000 Subject: [PATCH] Comment changes, and preparation for thread-safety. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1516 72102866-910b-0410-8b05-ffd578937521 --- Source/NSAutoreleasePool.m | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Source/NSAutoreleasePool.m b/Source/NSAutoreleasePool.m index 18e26a446..8ca79e42f 100644 --- a/Source/NSAutoreleasePool.m +++ b/Source/NSAutoreleasePool.m @@ -30,10 +30,6 @@ /* TODO: Doesn't work multi-threaded. - - This class should be made more efficient, especially: - [[NSAutorelease alloc] init] - [current_pool addObject:o] (REALLOC-case) */ /* The current, default NSAutoreleasePool; the one that will hold @@ -46,7 +42,7 @@ static NSAutoreleasePool *current_pool = nil; static BOOL autorelease_enabled = YES; /* When the _released_count of the current pool gets over this value, - we raise an exception. */ + we raise an exception. This can be adjusted with -setPoolCountThreshhold */ static unsigned pool_count_warning_threshhold = UINT_MAX; /* The total number of objects autoreleased since the program was