#include <threadstorage.h>
Data Fields | |
int(* | custom_init )(void *) |
pthread_key_t | key |
void(* | key_init )(void) |
pthread_once_t | once |
Definition at line 56 of file threadstorage.h.
int(* custom_init)(void *) |
Custom initialization function specific to the object
pthread_key_t key |
The key used to retrieve this thread's data
Definition at line 58 of file threadstorage.h.
void(* key_init)(void) |
The function that initializes the key
pthread_once_t once |
Ensure that the key is only initialized by one thread
Definition at line 57 of file threadstorage.h.