15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#import "OFAutoreleasePool.h"
#import "OFArray.h"
#import "OFExceptions.h"
#ifdef OF_THREADS
# import "threading.h"
#define GROW_SIZE 16
static of_tlskey_t first_key, last_key;
#else
static OFAutoreleasePool *first = nil, *last = nil;
#endif
@implementation OFAutoreleasePool
#ifdef OF_THREADS
+ (void)initialize
{
if (self != [OFAutoreleasePool class])
return;
|
<
<
<
>
>
|
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#import "OFAutoreleasePool.h"
#import "OFArray.h"
#import "OFExceptions.h"
#ifdef OF_THREADS
# import "threading.h"
static of_tlskey_t first_key, last_key;
#else
static OFAutoreleasePool *first = nil, *last = nil;
#endif
#define GROW_SIZE 16
@implementation OFAutoreleasePool
#ifdef OF_THREADS
+ (void)initialize
{
if (self != [OFAutoreleasePool class])
return;
|