data for a thread locally stored variable More...
#include <threadstorage.h>
Data Fields | |
pthread_key_t | key |
void(* | key_init )(void) |
pthread_once_t | once |
data for a thread locally stored variable
Definition at line 37 of file threadstorage.h.
pthread_key_t key |
The key used to retrieve this thread's data
Definition at line 41 of file threadstorage.h.
Referenced by ast_dynamic_str_thread_build_va(), and ast_threadstorage_get().
void(* key_init)(void) |
The function that initializes the key
Referenced by ast_threadstorage_get().
pthread_once_t once |
Ensure that the key is only initialized by one thread
Definition at line 39 of file threadstorage.h.
Referenced by ast_threadstorage_get().