RetroArch
|
#include <reent.h>
#include <stdio.h>
#include <string.h>
#include <vitasdk/utils.h>
#include <psp2/kernel/threadmgr.h>
Classes | |
struct | reent_for_thread |
Macros | |
#define | MAX_THREADS 256 |
#define | TLS_REENT_THID_PTR(thid) sceKernelGetThreadTLSAddr(thid, 0x88) |
#define | TLS_REENT_PTR sceKernelGetTLSAddr(0x88) |
#define | list_entry(ptr, type, member) ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) |
Typedefs | |
typedef struct reent_for_thread | reent_for_thread |
Functions | |
int | __vita_delete_thread_reent (int thid) |
int | vitasdk_delete_thread_reent (int thid) |
int | _exit_thread_common (int exit_status, int(*exit_func)(int)) |
int | vita_exit_thread (int exit_status) |
int | vita_exit_delete_thread (int exit_status) |
static void | __vita_clean_reent (void) |
static struct reent_for_thread * | __vita_allocate_reent (void) |
struct _reent * | __getreent_for_thread (int thid) |
struct _reent * | __getreent (void) |
void * | vitasdk_get_tls_data (SceUID thid) |
void * | vitasdk_get_pthread_data (SceUID thid) |
void | _init_vita_reent (void) |
void | _free_vita_reent (void) |
Variables | |
static reent_for_thread | reent_list [MAX_THREADS] |
static int | _newlib_reent_mutex |
static struct _reent | _newlib_global_reent |
#define list_entry | ( | ptr, | |
type, | |||
member | |||
) | ((type *)((char *)(ptr)-(unsigned long)(&((type *)0)->member))) |
#define MAX_THREADS 256 |
#define TLS_REENT_PTR sceKernelGetTLSAddr(0x88) |
#define TLS_REENT_THID_PTR | ( | thid | ) | sceKernelGetThreadTLSAddr(thid, 0x88) |
typedef struct reent_for_thread reent_for_thread |
struct _reent* __getreent | ( | void | ) |
struct _reent* __getreent_for_thread | ( | int | thid | ) |
|
inlinestatic |
int __vita_delete_thread_reent | ( | int | thid | ) |
int _exit_thread_common | ( | int | exit_status, |
int(*)(int) | exit_func | ||
) |
int vita_exit_delete_thread | ( | int | exit_status | ) |
int vita_exit_thread | ( | int | exit_status | ) |
int vitasdk_delete_thread_reent | ( | int | thid | ) |
|
static |
|
static |
|
static |