mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
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
This commit is contained in:
parent
73bb127d62
commit
75421a4b21
1 changed files with 1 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue