CrystalSpace

Public API Reference

csutil/threading/mutex.h File Reference

Mutual-exclusion object. More...

#include "csutil/noncopyable.h"
#include "csutil/threading/pthread_mutex.h"

Go to the source code of this file.

Classes

class  CS::Threading::MutexImpl< BaseMutex >
 General mutex class. More...
class  CS::Threading::OptionalMutex< _Lock >
 Helper that is a (non-recursive) mutex if _Lock is true or does nothing if _Lock is false. More...
class  CS::Threading::ScopedLock< T >
 This is a utility class for locking a Mutex. More...

Namespaces

namespace  CS
 

Main namespace for CrystalSpace.


namespace  CS::Threading
 

Functions and classes for threading, locking and atomic operations.


Typedefs

typedef MutexImpl
< Implementation::MutexBase > 
CS::Threading::Mutex
 Basic non-recursive mutex.
typedef MutexImpl
< Implementation::RecursiveMutexBase > 
CS::Threading::RecursiveMutex
 Basic recursive mutex.

Detailed Description

Mutual-exclusion object.

A mutual exclusion object ensures that only one thread at a time access a shared object.

Definition in file mutex.h.


Generated for Crystal Space 2.0 by doxygen 1.6.1