libosip  5.3.0
Classes | Functions
oSIP mutex definitions

Classes

struct  osip_mutex
 

Functions

struct osip_mutexosip_mutex_init (void)
 
void osip_mutex_destroy (struct osip_mutex *mut)
 
int osip_mutex_lock (struct osip_mutex *mut)
 
int osip_mutex_unlock (struct osip_mutex *mut)
 

Detailed Description

Function Documentation

◆ osip_mutex_destroy()

void osip_mutex_destroy ( struct osip_mutex mut)

Destroy the mutex.

Parameters
mutThe mutex to destroy.

Referenced by osip_fifo_free(), and osip_release().

◆ osip_mutex_init()

struct osip_mutex* osip_mutex_init ( void  )

Allocate and Initialise a mutex.

Referenced by osip_fifo_init(), and osip_init().

◆ osip_mutex_lock()

int osip_mutex_lock ( struct osip_mutex mut)

◆ osip_mutex_unlock()

int osip_mutex_unlock ( struct osip_mutex mut)