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

Classes

struct  sem_timedwait_cleanup_args_t
 

Functions

static void pte_sem_wait_cleanup (void *sem)
 
static void pte_sem_timedwait_cleanup (void *args)
 
int sem_close (sem_t *sem)
 
int sem_destroy (sem_t *sem)
 
int sem_getvalue (sem_t *sem, int *sval)
 
int sem_init (sem_t *sem, int pshared, unsigned int value)
 
int sem_open (const char *name, int oflag, mode_t mode, unsigned int value)
 
int sem_post (sem_t *sem)
 
int sem_post_multiple (sem_t *sem, int count)
 
int sem_timedwait (sem_t *sem, const struct timespec *abstime)
 
int sem_trywait (sem_t *sem)
 
int sem_unlink (const char *name)
 
int sem_wait (sem_t *sem)
 
int sem_wait_nocancel (sem_t *sem)
 

Function Documentation

◆ pte_sem_timedwait_cleanup()

static void pte_sem_timedwait_cleanup ( void args)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ pte_sem_wait_cleanup()

static void pte_sem_wait_cleanup ( void sem)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sem_close()

int sem_close ( sem_t sem)

◆ sem_destroy()

int sem_destroy ( sem_t sem)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sem_getvalue()

int sem_getvalue ( sem_t sem,
int *  sval 
)
Here is the call graph for this function:

◆ sem_init()

int sem_init ( sem_t sem,
int  pshared,
unsigned int  value 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sem_open()

int sem_open ( const char *  name,
int  oflag,
mode_t  mode,
unsigned int  value 
)

◆ sem_post()

int sem_post ( sem_t sem)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sem_post_multiple()

int sem_post_multiple ( sem_t sem,
int  count 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sem_timedwait()

int sem_timedwait ( sem_t sem,
const struct timespec *  abstime 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sem_trywait()

int sem_trywait ( sem_t sem)
Here is the call graph for this function:

◆ sem_unlink()

int sem_unlink ( const char *  name)

◆ sem_wait()

int sem_wait ( sem_t sem)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sem_wait_nocancel()

int sem_wait_nocancel ( sem_t sem)
Here is the call graph for this function: