|
ObjFW
|
#include "objfw-defs.h"#include <errno.h>#include "platform.h"import "macros.h"#include <pthread.h>Go to the source code of this file.
Functions | |
| int | OFTLSKeyNew (OFTLSKey *key) |
| Creates a new Thread Local Storage key. | |
| int | OFTLSKeyFree (OFTLSKey key) |
| Destroys the specified Thread Local Storage key. | |
| static OF_INLINE void * | OFTLSKeyGet (OFTLSKey key) |
| Returns the current value for the specified Thread Local Storage key. | |
| static OF_INLINE int | OFTLSKeySet (OFTLSKey key, void *value) |
| Sets the current value for the specified Thread Local Storage key. | |
|
extern |
Destroys the specified Thread Local Storage key.
| key | A pointer to the key to destroy |
|
static |
Returns the current value for the specified Thread Local Storage key.
| key | A pointer to the key whose value to return |
|
extern |
Creates a new Thread Local Storage key.
| key | A pointer to the key to create |
|
static |
Sets the current value for the specified Thread Local Storage key.
| key | A pointer to the key whose value to set |
| value | The new value for the key |