SIP Witch 1.9.15
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Data Structures | Functions
oSIP mutex definitions

Data Structures

struct  osip_mutex
 Structure for referencing a mutex element. More...
 

Functions

struct osip_mutexosip_mutex_init (void)
 Allocate and Initialise a mutex. More...
 
void osip_mutex_destroy (struct osip_mutex *mut)
 Destroy the mutex. More...
 
int osip_mutex_lock (struct osip_mutex *mut)
 Lock the mutex. More...
 
int osip_mutex_unlock (struct osip_mutex *mut)
 Unlock the mutex. More...
 

Detailed Description

Function Documentation

void osip_mutex_destroy ( struct osip_mutex mut)

#include <osip_mt.h>

Destroy the mutex.

Parameters
mutThe mutex to destroy.
struct osip_mutex* osip_mutex_init ( void  )

#include <osip_mt.h>

Allocate and Initialise a mutex.

int osip_mutex_lock ( struct osip_mutex mut)

#include <osip_mt.h>

Lock the mutex.

Parameters
mutThe mutex to lock.
int osip_mutex_unlock ( struct osip_mutex mut)

#include <osip_mt.h>

Unlock the mutex.

Parameters
mutThe mutex to unlock.