KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Public Member Functions | Data Fields
kthread_tls_kv Struct Reference

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. More...
 

Data Fields

kthread_key_t key
 The key associated with this data. More...
 
void * data
 The value of the data. More...
 
void(* destructor )(void *)
 Optional destructor for the value (set per key). More...
 

Detailed Description

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.

Member Function Documentation

kthread_tls_kv::LIST_ENTRY ( kthread_tls_kv  )

List handle – NOT a function.

Field Documentation

void* kthread_tls_kv::data

The value of the data.

void(* kthread_tls_kv::destructor)(void *)

Optional destructor for the value (set per key).

kthread_key_t kthread_tls_kv::key

The key associated with this data.


The documentation for this struct was generated from the following file: