ObjFW
|
A class for Thread Local Storage keys. More...
#import <OFThread.h>
Public Member Functions | |
(id) | - initWithDestructor: |
Initializes an already allocated Thread Local Storage Key with the specified destructor. | |
Static Public Member Functions | |
(id) | + TLSKey |
Creates a new Thread Local Storage key. | |
(id) | + TLSKeyWithDestructor: |
Creates a new Thread Local Storage key with the specified destructor. |
A class for Thread Local Storage keys.
- (id) initWithDestructor: | (id) | destructor |
Initializes an already allocated Thread Local Storage Key with the specified destructor.
destructor | A destructor that is called when the thread is terminated |
+ (id) TLSKey |
Creates a new Thread Local Storage key.
+ (id) TLSKeyWithDestructor: | (id) | destructor |
Creates a new Thread Local Storage key with the specified destructor.
destructor | A destructor that is called when the thread is terminated |