Logo Search packages:      
Sourcecode: pbs-drmaa version File versions

Functions | Variables

thread.c File Reference

#include <drmaa_utils/thread.h>
#include <drmaa_utils/common.h>
#include <errno.h>
#include <unistd.h>
Include dependency graph for thread.c:

Go to the source code of this file.


void fsd_cond_broadcast (fsd_cond_t *cond)
void fsd_cond_destroy (fsd_cond_t *cond)
void fsd_cond_init (fsd_cond_t *cond)
void fsd_cond_signal (fsd_cond_t *cond)
bool fsd_cond_timedwait (fsd_cond_t *cond, fsd_mutex_t *mutex, const struct timespec *abstime)
void fsd_cond_wait (fsd_cond_t *cond, fsd_mutex_t *mutex)
void fsd_mutex_destroy (fsd_mutex_t *mutex)
void fsd_mutex_init (fsd_mutex_t *mutex)
bool fsd_mutex_lock (fsd_mutex_t *mutex)
bool fsd_mutex_trylock (fsd_mutex_t *mutex)
bool fsd_mutex_unlock (fsd_mutex_t *mutex)
int fsd_mutex_unlock_times (fsd_mutex_t *mutex)
void fsd_thread_create (fsd_thread_t *thread, void *(*func)(void *), void *arg)
void fsd_thread_detach (fsd_thread_t th)
int fsd_thread_id (void)
void fsd_thread_join (fsd_thread_t th, void **thread_return)


static char rcsid [] = "$Id: thread.c 13 2011-04-20 15:41:43Z mmamonski $"

Detailed Description

Implementation of recursive mutexes for systems without native support for it.

Definition in file thread.c.

Generated by  Doxygen 1.6.0   Back to index