ThreadUtil Class Reference
[Utils]

#include <ThreadUtil.h>

List of all members.


Detailed Description

Defines methods for thread utilities.

This utility is presently unused, and it's not clear what its future will be.

Definition at line 52 of file ThreadUtil.h.


Static Public Member Functions

static void create (pthread_t &t, const pthread_attr_t &attr, void *(*start_routine)(void *), void *arg)
 creates a new thread
static void lock (pthread_mutex_t &mutex)
 acquire a lock
static void unlock (pthread_mutex_t &mutex)
 acquire an unlock
static void wait (pthread_cond_t &signal, pthread_mutex_t &mutex)
 wait on a signal and mutex
static void signal (pthread_cond_t &sig)
 signal a condition variable
static void broadcast (pthread_cond_t &sig)
 broadcast a signal to all waiters

The documentation for this class was generated from the following files:

Generated on Sat Oct 4 21:30:30 2008 for Mace Library by  doxygen 1.5.5