RetroArch
Classes | Macros | Typedefs | Functions | Variables
psp_pthread.h File Reference
#include <pspkernel.h>
#include <pspthreadman.h>
#include <pspthreadman_kernel.h>
#include <stdio.h>
#include <retro_inline.h>
Include dependency graph for psp_pthread.h:

Go to the source code of this file.

Classes

struct  pthread_cond_t
 
struct  sthread_args_struct
 

Macros

#define STACKSIZE   (8 * 1024)
 

Typedefs

typedef SceUID pthread_t
 
typedef SceUID pthread_mutex_t
 
typedef voidpthread_mutexattr_t
 
typedef int pthread_attr_t
 
typedef SceUID pthread_condattr_t
 
typedef void *(* sthreadEntry) (void *argp)
 

Functions

static int psp_thread_wrap (SceSize args, void *argp)
 
static INLINE int pthread_create (pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void *), void *arg)
 
static INLINE int pthread_mutex_init (pthread_mutex_t *mutex, const pthread_mutexattr_t *attr)
 
static INLINE int pthread_mutex_destroy (pthread_mutex_t *mutex)
 
static INLINE int pthread_mutex_lock (pthread_mutex_t *mutex)
 
static INLINE int pthread_mutex_unlock (pthread_mutex_t *mutex)
 
static INLINE int pthread_join (pthread_t thread, void **retval)
 
static INLINE int pthread_mutex_trylock (pthread_mutex_t *mutex)
 
static INLINE int pthread_cond_wait (pthread_cond_t *cond, pthread_mutex_t *mutex)
 
static INLINE int pthread_cond_timedwait (pthread_cond_t *cond, pthread_mutex_t *mutex, const struct timespec *abstime)
 
static INLINE int pthread_cond_init (pthread_cond_t *cond, const pthread_condattr_t *attr)
 
static INLINE int pthread_cond_signal (pthread_cond_t *cond)
 
static INLINE int pthread_cond_broadcast (pthread_cond_t *cond)
 
static INLINE int pthread_cond_destroy (pthread_cond_t *cond)
 
static INLINE int pthread_detach (pthread_t thread)
 
static INLINE void pthread_exit (void *retval)
 
static INLINE pthread_t pthread_self (void)
 
static INLINE int pthread_equal (pthread_t t1, pthread_t t2)
 

Variables

char name_buffer [256]
 

Macro Definition Documentation

◆ STACKSIZE

#define STACKSIZE   (8 * 1024)

Typedef Documentation

◆ pthread_attr_t

typedef int pthread_attr_t

◆ pthread_condattr_t

◆ pthread_mutex_t

◆ pthread_mutexattr_t

◆ pthread_t

typedef SceUID pthread_t

◆ sthreadEntry

typedef void*(* sthreadEntry) (void *argp)

Function Documentation

◆ psp_thread_wrap()

static int psp_thread_wrap ( SceSize  args,
void argp 
)
static
Here is the caller graph for this function:

◆ pthread_cond_broadcast()

static INLINE int pthread_cond_broadcast ( pthread_cond_t cond)
static

◆ pthread_cond_destroy()

static INLINE int pthread_cond_destroy ( pthread_cond_t cond)
static
Here is the call graph for this function:

◆ pthread_cond_init()

static INLINE int pthread_cond_init ( pthread_cond_t cond,
const pthread_condattr_t attr 
)
static
Here is the call graph for this function:

◆ pthread_cond_signal()

static INLINE int pthread_cond_signal ( pthread_cond_t cond)
static
Here is the call graph for this function:

◆ pthread_cond_timedwait()

static INLINE int pthread_cond_timedwait ( pthread_cond_t cond,
pthread_mutex_t mutex,
const struct timespec *  abstime 
)
static
Here is the call graph for this function:

◆ pthread_cond_wait()

static INLINE int pthread_cond_wait ( pthread_cond_t cond,
pthread_mutex_t mutex 
)
static
Here is the call graph for this function:

◆ pthread_create()

static INLINE int pthread_create ( pthread_t thread,
const pthread_attr_t attr,
void *(*)(void *)  start_routine,
void arg 
)
static
Here is the call graph for this function:

◆ pthread_detach()

static INLINE int pthread_detach ( pthread_t  thread)
static

◆ pthread_equal()

static INLINE int pthread_equal ( pthread_t  t1,
pthread_t  t2 
)
static

◆ pthread_exit()

static INLINE void pthread_exit ( void retval)
static

◆ pthread_join()

static INLINE int pthread_join ( pthread_t  thread,
void **  retval 
)
static

◆ pthread_mutex_destroy()

static INLINE int pthread_mutex_destroy ( pthread_mutex_t mutex)
static
Here is the caller graph for this function:

◆ pthread_mutex_init()

static INLINE int pthread_mutex_init ( pthread_mutex_t mutex,
const pthread_mutexattr_t attr 
)
static
Here is the caller graph for this function:

◆ pthread_mutex_lock()

static INLINE int pthread_mutex_lock ( pthread_mutex_t mutex)
static
Here is the caller graph for this function:

◆ pthread_mutex_trylock()

static INLINE int pthread_mutex_trylock ( pthread_mutex_t mutex)
static

◆ pthread_mutex_unlock()

static INLINE int pthread_mutex_unlock ( pthread_mutex_t mutex)
static
Here is the caller graph for this function:

◆ pthread_self()

static INLINE pthread_t pthread_self ( void  )
static

Variable Documentation

◆ name_buffer

char name_buffer[256]