RetroArch
Functions | Variables
tls-helper.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "tls-helper.h"
Include dependency graph for tls-helper.c:

Functions

pte_osResult pteTlsGlobalInit (int maxEntries)
 
voidpteTlsThreadInit (void)
 
pte_osResult pteTlsAlloc (unsigned int *pKey)
 
voidpteTlsGetValue (void *pTlsThreadStruct, unsigned int index)
 
pte_osResult pteTlsSetValue (void *pTlsThreadStruct, unsigned int index, void *value)
 
pte_osResult pteTlsFree (unsigned int index)
 
void pteTlsThreadDestroy (void *pTlsThreadStruct)
 
void pteTlsGlobalDestroy (void)
 

Variables

static int * keysUsed
 
static int maxTlsValues
 
pte_osMutexHandle globalTlsLock
 

Function Documentation

◆ pteTlsAlloc()

pte_osResult pteTlsAlloc ( unsigned int *  pKey)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pteTlsFree()

pte_osResult pteTlsFree ( unsigned int  index)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pteTlsGetValue()

void* pteTlsGetValue ( void pTlsThreadStruct,
unsigned int  index 
)
Here is the caller graph for this function:

◆ pteTlsGlobalDestroy()

void pteTlsGlobalDestroy ( void  )
Here is the call graph for this function:

◆ pteTlsGlobalInit()

pte_osResult pteTlsGlobalInit ( int  maxEntries)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pteTlsSetValue()

pte_osResult pteTlsSetValue ( void pTlsThreadStruct,
unsigned int  index,
void value 
)
Here is the caller graph for this function:

◆ pteTlsThreadDestroy()

void pteTlsThreadDestroy ( void pTlsThreadStruct)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pteTlsThreadInit()

void* pteTlsThreadInit ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ globalTlsLock

pte_osMutexHandle globalTlsLock

◆ keysUsed

int* keysUsed
static

◆ maxTlsValues

int maxTlsValues
static