RetroArch
Macros | Typedefs | Functions
semaphore.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _POSIX_SEMAPHORES
 

Typedefs

typedef struct sem_t_sem_t
 typedef for the semaphore handle More...
 

Functions

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

Macro Definition Documentation

◆ _POSIX_SEMAPHORES

#define _POSIX_SEMAPHORES

Typedef Documentation

◆ sem_t

typedef for the semaphore handle

Function Documentation

◆ 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: