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

Typedefs

typedef long long int64_t
 

Functions

static int pte_thread_detach_common (unsigned char threadShouldExit)
 
static void pte_threadDestroyCommon (pthread_t thread, unsigned char shouldThreadExit)
 
void pte_callUserDestroyRoutines (pthread_t thread)
 
int pte_cancellable_wait (pte_osSemaphoreHandle semHandle, unsigned int *timeout)
 
int pte_cond_check_need_init (pthread_cond_t *cond)
 
int pte_thread_detach_and_exit_np (void)
 
int pte_thread_detach_np (void)
 
int pte_getprocessors (int *count)
 
int pte_is_attr (const pthread_attr_t *attr)
 
int pte_mutex_check_need_init (pthread_mutex_t *mutex)
 
pthread_t pte_new (void)
 
unsigned int pte_relmillisecs (const struct timespec *abstime)
 
pthread_t pte_threadReusePop (void)
 
void pte_threadReusePush (pthread_t thread)
 
void pte_rwlock_cancelwrwait (void *arg)
 
int pte_rwlock_check_need_init (pthread_rwlock_t *rwlock)
 
int pte_spinlock_check_need_init (pthread_spinlock_t *lock)
 
void pte_threadDestroy (pthread_t thread)
 
void pte_threadExitAndDestroy (pthread_t thread)
 
int pte_threadStart (void *vthreadParms)
 
void pte_throw (unsigned int exception)
 
void pte_pop_cleanup_all (int execute)
 
unsigned int pte_get_exception_services_code (void)
 
int pte_tkAssocCreate (pte_thread_t *sp, pthread_key_t key)
 
void pte_tkAssocDestroy (ThreadKeyAssoc *assoc)
 

Variables

static struct pthread_mutexattr_t_ pte_recursive_mutexattr_s
 
static struct pthread_mutexattr_t_ pte_errorcheck_mutexattr_s
 
static pthread_mutexattr_t pte_recursive_mutexattr = &pte_recursive_mutexattr_s
 
static pthread_mutexattr_t pte_errorcheck_mutexattr = &pte_errorcheck_mutexattr_s
 

Typedef Documentation

◆ int64_t

typedef long long int64_t

Function Documentation

◆ pte_callUserDestroyRoutines()

void pte_callUserDestroyRoutines ( pthread_t  thread)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pte_cancellable_wait()

int pte_cancellable_wait ( pte_osSemaphoreHandle  semHandle,
unsigned int *  timeout 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pte_cond_check_need_init()

int pte_cond_check_need_init ( pthread_cond_t cond)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pte_get_exception_services_code()

unsigned int pte_get_exception_services_code ( void  )

◆ pte_getprocessors()

int pte_getprocessors ( int *  count)
Here is the caller graph for this function:

◆ pte_is_attr()

int pte_is_attr ( const pthread_attr_t attr)
Here is the caller graph for this function:

◆ pte_mutex_check_need_init()

int pte_mutex_check_need_init ( pthread_mutex_t mutex)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pte_new()

pthread_t pte_new ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pte_pop_cleanup_all()

void pte_pop_cleanup_all ( int  execute)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pte_relmillisecs()

unsigned int pte_relmillisecs ( const struct timespec *  abstime)
Here is the caller graph for this function:

◆ pte_rwlock_cancelwrwait()

void pte_rwlock_cancelwrwait ( void arg)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pte_rwlock_check_need_init()

int pte_rwlock_check_need_init ( pthread_rwlock_t rwlock)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pte_spinlock_check_need_init()

int pte_spinlock_check_need_init ( pthread_spinlock_t lock)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pte_thread_detach_and_exit_np()

int pte_thread_detach_and_exit_np ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pte_thread_detach_common()

static int pte_thread_detach_common ( unsigned char  threadShouldExit)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pte_thread_detach_np()

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

◆ pte_threadDestroy()

void pte_threadDestroy ( pthread_t  thread)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pte_threadDestroyCommon()

static void pte_threadDestroyCommon ( pthread_t  thread,
unsigned char  shouldThreadExit 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pte_threadExitAndDestroy()

void pte_threadExitAndDestroy ( pthread_t  thread)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pte_threadReusePop()

pthread_t pte_threadReusePop ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pte_threadReusePush()

void pte_threadReusePush ( pthread_t  thread)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pte_threadStart()

int pte_threadStart ( void vthreadParms)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pte_throw()

void pte_throw ( unsigned int  exception)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pte_tkAssocCreate()

int pte_tkAssocCreate ( pte_thread_t sp,
pthread_key_t  key 
)
Here is the caller graph for this function:

◆ pte_tkAssocDestroy()

void pte_tkAssocDestroy ( ThreadKeyAssoc assoc)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ pte_errorcheck_mutexattr

pthread_mutexattr_t pte_errorcheck_mutexattr = &pte_errorcheck_mutexattr_s
static

◆ pte_errorcheck_mutexattr_s

struct pthread_mutexattr_t_ pte_errorcheck_mutexattr_s
static
Initial value:

◆ pte_recursive_mutexattr

pthread_mutexattr_t pte_recursive_mutexattr = &pte_recursive_mutexattr_s
static

◆ pte_recursive_mutexattr_s

struct pthread_mutexattr_t_ pte_recursive_mutexattr_s
static
Initial value: