Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages
include / osip2

osip_mt.h File Reference

oSIP Thread, Mutex and Semaphore definitions More...

#include <stdio.h>
#include <errno.h>

Go to the source code of this file.


Functions

struct osip_thread * osip_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_sem * osip_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_mutex * osip_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.


Generated on Tue Feb 22 00:59:47 2005 for libosip by doxygen 1.4.1

AltStyle によって変換されたページ (->オリジナル) /