RetroArch
Typedefs | Functions
rsemaphore.h File Reference

Go to the source code of this file.

Typedefs

typedef struct ssem ssem_t
 

Functions

ssem_tssem_new (int value)
 
void ssem_free (ssem_t *semaphore)
 
int ssem_get (ssem_t *semaphore)
 
void ssem_wait (ssem_t *semaphore)
 
void ssem_signal (ssem_t *semaphore)
 

Typedef Documentation

◆ ssem_t

typedef struct ssem ssem_t

Function Documentation

◆ ssem_free()

void ssem_free ( ssem_t semaphore)

◆ ssem_get()

int ssem_get ( ssem_t semaphore)

◆ ssem_new()

ssem_t* ssem_new ( int  value)

ssem_create: : initial value for the semaphore

Create a new semaphore.

Returns: pointer to new semaphore if successful, otherwise NULL.

◆ ssem_signal()

void ssem_signal ( ssem_t semaphore)

◆ ssem_wait()

void ssem_wait ( ssem_t semaphore)