vitasdk
Documentation of the vitasdk
utils.h File Reference
#include <psp2/types.h>

Go to the source code of this file.

Functions

void * vitasdk_get_tls_data (SceUID thid)
 vitasdk_get_tls_data - Get pointer to memory location to store TLS data More...
 
void * vitasdk_get_pthread_data (SceUID thid)
 vitasdk_get_pthread_data - Get pointer to memory to store pthread metadata More...
 
int vitasdk_delete_thread_reent (SceUID thid)
 vitasdk_delete_thread_reent delete the internal reent data for the specified thread More...
 

Function Documentation

◆ vitasdk_get_tls_data()

void* vitasdk_get_tls_data ( SceUID  thid)

vitasdk_get_tls_data - Get pointer to memory location to store TLS data

Parameters
thid- The thread UID to access TLS
Returns
A pointer to a memory location containing the pointer to TLS data

◆ vitasdk_get_pthread_data()

void* vitasdk_get_pthread_data ( SceUID  thid)

vitasdk_get_pthread_data - Get pointer to memory to store pthread metadata

Parameters
thid- The thread UID where the TLS will be based on
Returns
A pointer to a memory location within the TLS

◆ vitasdk_delete_thread_reent()

int vitasdk_delete_thread_reent ( SceUID  thid)

vitasdk_delete_thread_reent delete the internal reent data for the specified thread

Parameters
thid- The UID for the thread to delete reent data
Returns
non-zero if reent data is deleted