ObjFW  Check-in [eade7d765c]

Overview
Comment:Fix forgotten __thread.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: eade7d765cd9cf64fc8bd7f73742805aa2d946e62c55e8b18f72617acf46acd0
User & Date: js on 2012-07-14 21:02:00
Other Links: manifest | tags
Context
2012-07-14
22:21
Fall back to of_tlskey if __thread is unavailable. check-in: 95b1b31aa5 user: js tags: trunk
21:02
Fix forgotten __thread. check-in: eade7d765c user: js tags: trunk
20:38
Let of_tlskey_* use void* instead of id. check-in: e379516a39 user: js tags: trunk
Changes

Modified src/runtime/autorelease.m from [aef7e3462c] to [b91ab77a61].

24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

#import "OFObject.h"

#import "macros.h"

static __thread id *objects = NULL;
static __thread id *top = NULL;
static size_t size = 0;

id
objc_autorelease(id object)
{
	return [object autorelease];
}








|







24
25
26
27
28
29
30
31
32
33
34
35
36
37
38

#import "OFObject.h"

#import "macros.h"

static __thread id *objects = NULL;
static __thread id *top = NULL;
static __thread size_t size = 0;

id
objc_autorelease(id object)
{
	return [object autorelease];
}