|
Kore
|
Provides storage-slots for thread-specific data. More...
Go to the source code of this file.
Data Structures | |
| struct | kinc_thread_local |
Typedefs | |
| typedef struct kinc_thread_local | kinc_thread_local_t |
Functions | |
| KINC_FUNC void | kinc_thread_local_init (kinc_thread_local_t *local) |
| Initializes a thread-specific storage-slot. | |
| KINC_FUNC void | kinc_thread_local_destroy (kinc_thread_local_t *local) |
| Destroys a storage-slot. | |
| KINC_FUNC void * | kinc_thread_local_get (kinc_thread_local_t *local) |
| Gets the data in the storage-slot. | |
| KINC_FUNC void | kinc_thread_local_set (kinc_thread_local_t *local, void *data) |
| Sets the data in the storage-slot. | |
Provides storage-slots for thread-specific data.
| KINC_FUNC void kinc_thread_local_destroy | ( | kinc_thread_local_t * | local | ) |
Destroys a storage-slot.
| local | The storage-slot to destroy |
| KINC_FUNC void * kinc_thread_local_get | ( | kinc_thread_local_t * | local | ) |
Gets the data in the storage-slot.
| local | The slot to query |
| KINC_FUNC void kinc_thread_local_init | ( | kinc_thread_local_t * | local | ) |
Initializes a thread-specific storage-slot.
| local | The storage-slot to initialize |
| KINC_FUNC void kinc_thread_local_set | ( | kinc_thread_local_t * | local, |
| void * | data ) |
Sets the data in the storage-slot.
| local | The slot to put the data into |
| data | The data to put in the slot |