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. References LockScope< num_doors >::l. |
|
destructor, releases lock received in constructor
Definition at line 15 of file LockScope.h. References LockScope< num_doors >::l. |
|
the lock
Definition at line 17 of file LockScope.h. |
Tekkotsu v1.4 |
Generated Sat Jul 19 00:09:02 2003 by Doxygen 1.3.2 |