Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
MutexLockBase Class ReferenceThe main purpose of this base class is actually to allow setting of usleep_granularity across all locks. More...
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 29 of file MutexLock.h.
Constructor & Destructor Documentation
basic destructor Definition at line 31 of file MutexLock.h. Member Function Documentation
Definition at line 39 of file MutexLock.h. Member Data Documentation
marks as unlocked Definition at line 33 of file MutexLock.h. Referenced by MutexLock< MAX_ACCESS >::releaseAll(), MutexLock< MAX_ACCESS >::unlock(), and MutexLock< MAX_ACCESS >::~MutexLock().
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 34 of file MutexLock.h. Referenced by MessageQueue< MAX_UNREAD, MAX_RECEIVERS, MAX_SENDERS >::sendMessage(). The documentation for this class was generated from the following files: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:13 2016 by Doxygen 1.6.3 |