Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
Thread::Lock Class Referencean inter-thread lock -- doesn't work across processes, only threads within a process. (see MutexLock for inter-process locks) More...
Inheritance diagram for Thread::Lock:
Detailed Descriptionan inter-thread lock -- doesn't work across processes, only threads within a process. (see MutexLock for inter-process locks) Definition at line 43 of file Thread.h.
Constructor & Destructor Documentation
don't call Member Function Documentation
returns the lock level of the lock storage itself, the sum of all instance's lock levels Definition at line 658 of file Thread.cc. Referenced by MutexLock< MAX_ACCESS >::get_lock_level(), MutexLock< MAX_ACCESS >::releaseAll(), Thread::Condition::timedwait(), MutexLock< MAX_ACCESS >::unlock(), Thread::Condition::wait(), and MutexLock< MAX_ACCESS >::~MutexLock().
block until lock is obtained Definition at line 50 of file Thread.h. Referenced by MutexLock< MAX_ACCESS >::lock(), and Thread::~Thread().
see if lock is available Definition at line 644 of file Thread.cc. Referenced by MutexLock< MAX_ACCESS >::try_lock().
release lock, if held Definition at line 52 of file Thread.h. Referenced by MutexLock< MAX_ACCESS >::releaseAll(), MutexLock< MAX_ACCESS >::unlock(), ~Lock(), and MutexLock< MAX_ACCESS >::~MutexLock().
Friends And Related Function DocumentationMember Data Documentation
the current lock level from this Lock, may differ from mylock's lock level if several Locks are sharing a storage! Definition at line 65 of file Thread.h. Referenced by getInstanceLockLevel(), releaseResource(), trylock(), useResource(), and ~Lock().
This lock's implementation. Definition at line 63 of file Thread.h. Referenced by getLockLevel(), releaseResource(), Thread::Condition::timedwait(), trylock(), useResource(), Thread::Condition::wait(), and ~Lock(). The documentation for this class was generated from the following files: |
Tekkotsu v5.1CVS |
Generated Mon May 9 04:59:17 2016 by Doxygen 1.6.3 |