49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
#import "threading.h"
static OFList *TLSKeys;
static of_tlskey_t threadSelf;
static id
call_main(OFThread *thread)
{
#if defined(OF_GNU_RUNTIME) || defined(OF_OLD_GNU_RUNTIME)
objc_thread_add();
#endif
if (!of_tlskey_set(threadSelf, thread))
@throw [OFInitializationFailedException
newWithClass: [thread class]];
|
>
>
|
|
|
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
#import "threading.h"
static OFList *TLSKeys;
static of_tlskey_t threadSelf;
static id
call_main(id object)
{
OFThread *thread = (OFThread*)object;
#if defined(OF_GNU_RUNTIME) || defined(OF_OLD_GNU_RUNTIME)
objc_thread_add();
#endif
if (!of_tlskey_set(threadSelf, thread))
@throw [OFInitializationFailedException
newWithClass: [thread class]];
|