17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
* The OFAutoreleasePool class is a class that keeps track of objects that will
* be released when the autorelease pool is released.
*
* Every thread has its own stack of autorelease pools.
*/
@interface OFAutoreleasePool: OFObject
{
OFArray *objects;
OFAutoreleasePool *next, *prev;
}
/**
* Adds an object to the autorelease pool at the top of the thread-specific
* stack.
*
|
|
|
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
* The OFAutoreleasePool class is a class that keeps track of objects that will
* be released when the autorelease pool is released.
*
* Every thread has its own stack of autorelease pools.
*/
@interface OFAutoreleasePool: OFObject
{
OFMutableArray *objects;
OFAutoreleasePool *next, *prev;
}
/**
* Adds an object to the autorelease pool at the top of the thread-specific
* stack.
*
|