| Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
MutexLockBase Class Reference#include <MutexLock.h>
Inheritance diagram for MutexLockBase: ![]() Detailed DescriptionThe main purpose of this base class is actually to allow setting of usleep_granularity across all locks.It would be nice if we just put functions in here so we could reference locks without regard to the number of doors, but then all processes which use the lock would have to have been created via fork to handle virtual calls properly, and I don't want to put that overhead on the otherwise lightweight SoundPlay process under Aperios.
Definition at line 32 of file MutexLock.h.
Constructor & Destructor Documentation
Member Data Documentation
marks as unlocked
Definition at line 36 of file MutexLock.h. Referenced by MutexLock< num_doors >::do_try_lock(), MutexLock< num_doors >::forget(), WorldStatePool::isComplete(), MutexLock< num_doors >::lookup(), and MutexLock< num_doors >::unlock().
the estimated cost in microseconds of usleep call itself -- value passed to usleep will be 10 times this (only used by software lock implementation on non-Aperios)
Definition at line 37 of file MutexLock.h.
The documentation for this class was generated from the following files: | ||||||||||||||||||||||||
|
Tekkotsu v3.0 |
Generated Wed Oct 4 00:05:08 2006 by Doxygen 1.4.7 |