18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
*/
@interface OFTLSKey: OFObject
{
@public
of_tlskey_t key;
}
/**
* \param destructor A destructor that is called when the thread is terminated
* \return A new autoreleased Thread Local Storage key
*/
+ tlsKeyWithDestructor: (void(*)(id))destructor;
/**
* \param destructor A destructor that is called when the thread is terminated
* \return An initialized Thread Local Storage key
*/
- initWithDestructor: (void(*)(id))destructor;
@end
|
>
>
>
>
>
>
>
>
>
>
|
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
*/
@interface OFTLSKey: OFObject
{
@public
of_tlskey_t key;
}
/**
* \return A new autoreleased Thread Local Storage key
*/
+ tlsKey;
/**
* \param destructor A destructor that is called when the thread is terminated
* \return A new autoreleased Thread Local Storage key
*/
+ tlsKeyWithDestructor: (void(*)(id))destructor;
/**
* \return An initialized Thread Local Storage key
*/
- init;
/**
* \param destructor A destructor that is called when the thread is terminated
* \return An initialized Thread Local Storage key
*/
- initWithDestructor: (void(*)(id))destructor;
@end
|