libtransistor
A userland library for the Nintendo Switch
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Structures | Functions
tls.h File Reference

Thread Local Storage functions. More...

#include <libtransistor/types.h>
#include <libtransistor/thread.h>
#include <reent.h>
#include <stdint.h>
Include dependency graph for tls.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tls
 

Functions

struct tlsget_tls ()
 Gets the address of the thread-local storage.
 
trn_thread_ttrn_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.
 

Detailed Description

Thread Local Storage functions.