Homepage | Demos | Overview | Downloads | Tutorials | Reference | Credits |
#include <LockScope.h>
This can help prevent forgetting to do it if you function has multiple return points
Definition at line 10 of file LockScope.h.
Public Member Functions | |
LockScope (MutexLock< num_doors > &lock, int id) | |
constructor, locks lock with id | |
~LockScope () | |
destructor, releases lock received in constructor | |
Protected Attributes | |
MutexLock< num_doors > & | l |
the lock |
|
constructor, locks lock with id
Definition at line 13 of file LockScope.h. |
|
destructor, releases lock received in constructor
Definition at line 15 of file LockScope.h. |
|
the lock
Definition at line 17 of file LockScope.h. Referenced by LockScope< num_doors >::LockScope(), and LockScope< num_doors >::~LockScope(). |
Tekkotsu v2.0 |
Generated Wed Jan 21 03:23:16 2004 by Doxygen 1.3.4 |