MADNESS  version 0.9
Classes | Namespaces | Macros | Typedefs | Functions
worldmutex.h File Reference

Implements Mutex, MutexFair, Spinlock, ConditionVariable. More...

#include <madness/TAU.h>
#include <madness/madness_config.h>
#include <pthread.h>
#include <madness/world/nodefaults.h>
#include <madness/world/worldtime.h>
#include <madness/world/atomicint.h>
#include <madness/world/worldexc.h>
Include dependency graph for worldmutex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  madness::MutexWaiter
 
class  madness::Mutex
 Mutex using pthread mutex operations. More...
 
class  madness::RecursiveMutex
 Recursive mutex using pthread mutex operations. More...
 
class  madness::ScopedMutex< mutexT >
 Mutex that is applied/released at start/end of a scope. More...
 
class  madness::Spinlock
 Spinlock using pthread spinlock operations. More...
 
class  madness::MutexReaderWriter
 
class  madness::ConditionVariable
 Scalable and fair condition variable (spins on local value) More...
 
class  madness::MutexFair
 A scalable and fair mutex (not recursive) More...
 
class  madness::PthreadConditionVariable
 Simple wrapper for Pthread condition variable with its own mutex. More...
 
class  madness::Barrier
 

Namespaces

 madness
 Holds machinery to set up Functions/FuncImpls using various Factories and Interfaces.
 

Macros

#define OLDXXX
 

Typedefs

typedef PthreadConditionVariable madness::CONDITION_VARIABLE_TYPE
 
typedef Mutex madness::SPINLOCK_TYPE
 
typedef Mutex madness::SCALABLE_MUTEX_TYPE
 

Functions

bool madness::try_two_locks (const Mutex &m1, const Mutex &m2)
 Attempt to acquire two locks without blocking holding either one. More...
 

Detailed Description

Implements Mutex, MutexFair, Spinlock, ConditionVariable.

Macro Definition Documentation

#define OLDXXX