|
Kore 3
|
Provides storage-slots for thread-specific data. More...
Go to the source code of this file.
Data Structures | |
| struct | kore_thread_local |
Typedefs | |
| typedef struct kore_thread_local | kore_thread_local |
Functions | |
| KORE_FUNC void | kore_thread_local_init (kore_thread_local *local) |
| Initializes a thread-specific storage-slot. | |
| KORE_FUNC void | kore_thread_local_destroy (kore_thread_local *local) |
| Destroys a storage-slot. | |
| KORE_FUNC void * | kore_thread_local_get (kore_thread_local *local) |
| Gets the data in the storage-slot. | |
| KORE_FUNC void | kore_thread_local_set (kore_thread_local *local, void *data) |
| Sets the data in the storage-slot. | |
Provides storage-slots for thread-specific data.
| KORE_FUNC void kore_thread_local_destroy | ( | kore_thread_local * | local | ) |
Destroys a storage-slot.
| local | The storage-slot to destroy |
| KORE_FUNC void * kore_thread_local_get | ( | kore_thread_local * | local | ) |
Gets the data in the storage-slot.
| local | The slot to query |
| KORE_FUNC void kore_thread_local_init | ( | kore_thread_local * | local | ) |
Initializes a thread-specific storage-slot.
| local | The storage-slot to initialize |
| KORE_FUNC void kore_thread_local_set | ( | kore_thread_local * | 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 |