posix.h File Reference

#include <errno.h>
#include <string.h>
#include <iostream>

Namespaces

namespace  rpa

Classes

class  rpa::posix_thread_fast_t
class  rpa::posix_thread
class  rpa::posix_mutex
class  rpa::posix_condition

Defines

#define posix_spinlock   posix_mutex
 If spinlocks are not available, we propose a replacement.

Typedefs

typedef void *(*) rpa::posix_fun_ptr (void *)

Define Documentation

#define posix_spinlock   posix_mutex

If spinlocks are not available, we propose a replacement.

This wraps a POSIX spinlock to make it conformant to the mutex interface of this library. This wrapper is extremely thin : Its main job is to make a class out of a couple of C functions. NOTE: This makes a spinlock perfectly interchangeable with a mutex.


Generated on Tue Sep 25 10:20:30 2007 for rpa by  doxygen 1.4.7