OFTLSKey Class Reference

#import <OFThread.h>

Inheritance diagram for OFTLSKey:
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

Detailed Description

A Thread Local Storage key.


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

Generated on Mon Feb 1 19:19:40 2010 for ObjFW by  doxygen 1.6.1