wthread.h File Reference

#include <pthread.h>

Go to the source code of this file.

Data Structures

struct  WSEMAPHORE

Functions

int pvthread_attr_init (pthread_attr_t *attr)
int pvthread_create (pthread_t *tid, const pthread_attr_t *attr, void *(*func)(void *), void *arg)
void pvthread_close_handle (pthread_t *tid)
void pvthread_exit (void *status)
int pvthread_join (pthread_t tid, void **status)
int pvthread_mutex_init (pthread_mutex_t *mptr, const pthread_mutexattr_t *attr)
int pvthread_mutex_destroy (pthread_mutex_t *mptr)
int pvthread_mutex_lock (pthread_mutex_t *mptr)
int pvthread_mutex_trylock (pthread_mutex_t *mptr)
int pvthread_mutex_unlock (pthread_mutex_t *mptr)
int pvthread_cancel (pthread_t tid)
int pvinit_semaphore (WSEMAPHORE *s, int cmax)
int pvincrement_semaphore (WSEMAPHORE *s)
int pvwait_semaphore (WSEMAPHORE *s)
int pvthread_sleep (long msec)


Function Documentation

int pvincrement_semaphore WSEMAPHORE s  ) 
 

int pvinit_semaphore WSEMAPHORE s,
int  cmax
 

int pvthread_attr_init pthread_attr_t *  attr  ) 
 

int pvthread_cancel pthread_t  tid  ) 
 

void pvthread_close_handle pthread_t *  tid  ) 
 

int pvthread_create pthread_t *  tid,
const pthread_attr_t *  attr,
void *(*)(void *)  func,
void *  arg
 

void pvthread_exit void *  status  ) 
 

int pvthread_join pthread_t  tid,
void **  status
 

int pvthread_mutex_destroy pthread_mutex_t *  mptr  ) 
 

int pvthread_mutex_init pthread_mutex_t *  mptr,
const pthread_mutexattr_t *  attr
 

int pvthread_mutex_lock pthread_mutex_t *  mptr  ) 
 

int pvthread_mutex_trylock pthread_mutex_t *  mptr  ) 
 

int pvthread_mutex_unlock pthread_mutex_t *  mptr  ) 
 

int pvthread_sleep long  msec  ) 
 

int pvwait_semaphore WSEMAPHORE s  ) 
 


Generated on Mon Jun 5 08:33:36 2006 for ProcessViewBrowser-ServerProgramming by  doxygen 1.4.6