libosip  5.3.0
Functions
osip_mt.h File Reference

oSIP Thread, Mutex and Semaphore definitions More...

#include <stdio.h>

Go to the source code of this file.

Functions

struct osip_threadosip_thread_create (int stacksize, void *(*func)(void *), void *arg)
 
int osip_thread_join (struct osip_thread *thread)
 
int osip_thread_set_priority (struct osip_thread *thread, int priority)
 
void osip_thread_exit (void)
 
struct osip_semosip_sem_init (unsigned int value)
 
int osip_sem_destroy (struct osip_sem *sem)
 
int osip_sem_post (struct osip_sem *sem)
 
int osip_sem_wait (struct osip_sem *sem)
 
int osip_sem_trywait (struct osip_sem *sem)
 
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

oSIP Thread, Mutex and Semaphore definitions

Those methods are only available if the library is compile in multi threaded mode. This is the default for oSIP.