KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Thread-local storage key-value pair. More...
#include <tls.h>
Public Member Functions | |
LIST_ENTRY (kthread_tls_kv) kv_list | |
List handle – NOT a function. | |
Data Fields | |
kthread_key_t | key |
The key associated with this data. | |
void * | data |
The value of the data. | |
void(* | destructor )(void *) |
Optional destructor for the value (set per key). | |
Thread-local storage key-value pair.
This is the structure that is actually used to store the specific value for a thread for a single TLS key.
You will not end up using these directly at all in programs, as they are only used internally.
kthread_tls_kv_t::LIST_ENTRY | ( | kthread_tls_kv | ) |
List handle – NOT a function.
void* kthread_tls_kv_t::data |
The value of the data.
void(* kthread_tls_kv_t::destructor) (void *) |
Optional destructor for the value (set per key).
kthread_key_t kthread_tls_kv_t::key |
The key associated with this data.