Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

MutexLock.h File Reference


Detailed Description

Defines MutexLock, a software only mutual exclusion lock.

Author:
ejt (Creator), Edward A. Lycklama, Vassos Hadzilacos (paper from which this was based)
Author
ejt
Name
tekkotsu-4_0
Revision
1.20
State
Exp
Date
2007/11/10 22:58:08

Definition in file MutexLock.h.

#include "Shared/Resource.h"
#include "ProcessID.h"
#include <iostream>
#include <exception>
#include <typeinfo>
#include "SemaphoreManager.h"
#include "Thread.h"
#include "RCRegion.h"
#include <unistd.h>
#include <pthread.h>

Include dependency graph for MutexLock.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  MutexLockBase
 The main purpose of this base class is actually to allow setting of usleep_granularity across all locks. More...
class  MutexLockBase::no_more_semaphores
 exception if a lock is created but there aren't any more semaphores available More...
class  MutexLock< num_doors >
 Implements a mutual exclusion lock using semaphores (SYSV style through SemaphoreManager). More...


Tekkotsu v4.0
Generated Thu Nov 22 00:56:30 2007 by Doxygen 1.5.4