libtransistor
A userland library for the Nintendo Switch
|
Thread Local Storage functions. More...
#include <libtransistor/types.h>
#include <libtransistor/thread.h>
#include <reent.h>
#include <stdint.h>
Go to the source code of this file.
Data Structures | |
struct | tls |
Functions | |
struct tls * | get_tls () |
Gets the address of the thread-local storage. | |
trn_thread_t * | trn_get_thread () |
Gets the current thread struct. | |
thread_h | get_thread_handle () |
Gets the current thread's handle, or 0xFFFFFFFF if called before threads have been fully initialized. | |
Thread Local Storage functions.