RetroArch
Functions | Variables
pte_main.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include "pte_osal.h"
#include "pthread.h"
#include "implement.h"
Include dependency graph for pte_main.c:

Functions

int pthread_create (pthread_t *tid, const pthread_attr_t *attr, void *(*start)(void *), void *arg)
 
pte_cleanup_tpte_pop_cleanup (int execute)
 
void pte_push_cleanup (pte_cleanup_t *cleanup, pte_cleanup_callback_t routine, void *arg)
 

Variables

int pte_processInitialized = PTE_FALSE
 
pte_thread_tpte_threadReuseTop = PTE_THREAD_REUSE_EMPTY
 
pte_thread_tpte_threadReuseBottom = PTE_THREAD_REUSE_EMPTY
 
pthread_key_t pte_selfThreadKey = NULL
 
pthread_key_t pte_cleanupKey = NULL
 
pthread_cond_t pte_cond_list_head = NULL
 
pthread_cond_t pte_cond_list_tail = NULL
 
int pte_concurrency = 0
 
int pte_features = 0
 
unsigned char pte_smp_system = PTE_TRUE
 
pte_osMutexHandle pte_thread_reuse_lock
 
pte_osMutexHandle pte_mutex_test_init_lock
 
pte_osMutexHandle pte_cond_test_init_lock
 
pte_osMutexHandle pte_rwlock_test_init_lock
 
pte_osMutexHandle pte_spinlock_test_init_lock
 
pte_osMutexHandle pte_cond_list_lock
 

Function Documentation

◆ pte_pop_cleanup()

pte_cleanup_t* pte_pop_cleanup ( int  execute)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pte_push_cleanup()

void pte_push_cleanup ( pte_cleanup_t cleanup,
pte_cleanup_callback_t  routine,
void arg 
)
Here is the call graph for this function:

◆ pthread_create()

int pthread_create ( pthread_t tid,
const pthread_attr_t attr,
void *(*)(void *)  start,
void arg 
)
Here is the caller graph for this function:

Variable Documentation

◆ pte_cleanupKey

pthread_key_t pte_cleanupKey = NULL

◆ pte_concurrency

int pte_concurrency = 0

◆ pte_cond_list_head

pthread_cond_t pte_cond_list_head = NULL

◆ pte_cond_list_lock

pte_osMutexHandle pte_cond_list_lock

◆ pte_cond_list_tail

pthread_cond_t pte_cond_list_tail = NULL

◆ pte_cond_test_init_lock

pte_osMutexHandle pte_cond_test_init_lock

◆ pte_features

int pte_features = 0

◆ pte_mutex_test_init_lock

pte_osMutexHandle pte_mutex_test_init_lock

◆ pte_processInitialized

int pte_processInitialized = PTE_FALSE

◆ pte_rwlock_test_init_lock

pte_osMutexHandle pte_rwlock_test_init_lock

◆ pte_selfThreadKey

pthread_key_t pte_selfThreadKey = NULL

◆ pte_smp_system

unsigned char pte_smp_system = PTE_TRUE

◆ pte_spinlock_test_init_lock

pte_osMutexHandle pte_spinlock_test_init_lock

◆ pte_thread_reuse_lock

pte_osMutexHandle pte_thread_reuse_lock

◆ pte_threadReuseBottom

pte_thread_t* pte_threadReuseBottom = PTE_THREAD_REUSE_EMPTY

◆ pte_threadReuseTop

pte_thread_t* pte_threadReuseTop = PTE_THREAD_REUSE_EMPTY