RIOT POSIX thread local storage. More...
RIOT POSIX thread local storage.
Definition in file pthread_tls.h.
 This graph shows which files directly or indirectly include this file:Go to the source code of this file.
| typedef struct __pthread_tls_key * | pthread_key_t | 
| A thread-specific key.   | |
| void * | pthread_getspecific (pthread_key_t key) | 
| Returns the requested tls.   | |
| int | pthread_setspecific (pthread_key_t key, const void *value) | 
| Set and binds a specific tls to a key.   | |
| int | pthread_key_create (pthread_key_t *key, void(*destructor)(void *)) | 
| Creates a new key to be used to identify a specific tls.   | |
| int | pthread_key_delete (pthread_key_t key) | 
| Deletes a pthread_key_t that was previously created with pthread_key_create.   | |
| void | __pthread_keys_exit (int self_id) | 
Destroys all thread-specific keys for pthread self_id.   | |
| struct __pthread_tls_datum ** | __pthread_get_tls_head (int self_id) PURE | 
| Returns the pointer to the head of the list of thread-specific data.  | |
| typedef struct __pthread_tls_key* pthread_key_t | 
A thread-specific key.
Definition at line 39 of file pthread_tls.h.
| void __pthread_keys_exit | ( | int | self_id | ) | 
Destroys all thread-specific keys for pthread self_id. 
| [in] | self_id | the result of pthread_self(). | 
| void * pthread_getspecific | ( | pthread_key_t | key | ) | 
Returns the requested tls.
| [in] | key | the identifier for the requested tls | 
| int pthread_key_create | ( | pthread_key_t * | key, | 
| void(* | destructor )(void *) ) | 
Creates a new key to be used to identify a specific tls.
| [out] | key | the created key is scribed to the given pointer | 
| [in] | destructor | function pointer called when non NULL just before the pthread exits | 
| int pthread_key_delete | ( | pthread_key_t | key | ) | 
Deletes a pthread_key_t that was previously created with pthread_key_create.
does not call the destructor of the key
| [in] | key | the identifier of the key to be deleted | 
| int pthread_setspecific | ( | pthread_key_t | key, | 
| const void * | value ) | 
Set and binds a specific tls to a key.
| [in] | key | the identifier for the tls | 
| [in] | value | pointer to the location of the tls |