Public Member Functions | Static Public Member Functions | Public Attributes | Protected Attributes

OFTLSKey Class Reference

A class for Thread Local Storage keys. More...

#import <OFThread.h>

Inheritance diagram for OFTLSKey:
OFObject <OFObject>

List of all members.

Public Member Functions

(id) - init
(id) - initWithDestructor:

Static Public Member Functions

(id) + TLSKey
(id) + TLSKeyWithDestructor:
(void) + callAllDestructors

Public Attributes

of_tlskey_t key

Protected Attributes

void(* destructor )(id)
of_list_object_tlistobj
BOOL initialized

Detailed Description

A class for Thread Local Storage keys.


Member Function Documentation

- (id) init  
Returns:
An initialized Thread Local Storage key

Reimplemented from OFObject.

- (id) initWithDestructor: (id)  destructor  
Parameters:
destructor A destructor that is called when the thread is terminated
Returns:
An initialized Thread Local Storage key
+ (id) TLSKey  
Returns:
A new autoreleased Thread Local Storage key
+ (id) TLSKeyWithDestructor: (id)  destructor  
Parameters:
destructor A destructor that is called when the thread is terminated
Returns:
A new autoreleased Thread Local Storage key

The documentation for this class was generated from the following files:
 All Classes Functions Variables