xdasd_thread.c File Reference

OpenXDAS daemon threading primatives implementation. More...

#include "xdasd_thread.h"
#include <xdas_base.h>
#include <stddef.h>

Go to the source code of this file.

Functions

thread_t thread_create (void *(*thread_proc)(void *), void *arg)
 Create a new thread of execution.
void * thread_wait (thread_t th)
 Wait for a thread to terminate.
static void p_operation_cleanup (void *arg)
 A pthread cleanup callback routine.
int sem_create (sem_t *sp, int count)
 Create an inter-thread semaphore object.
void sem_destroy (sem_t *sp)
 Destroy an inter-thread semaphore object.
void sem_wait (sem_t *sp)
 Wait for an inter-thread semaphore signal.
void sem_signal (sem_t *sp, int count)
 Signal an inter-thread semaphore.


Detailed Description

OpenXDAS daemon threading primatives implementation.

Author:
John Calcote (jcalcote@novell.com)
Attention:
Please submit patches to http://openxdas.sourceforge.net

Definition in file xdasd_thread.c.


Generated on Thu Aug 20 22:33:07 2009 for OpenXDAS by  doxygen 1.5.6