PCL
|
Go to the source code of this file.
Classes | |
class | pcl::AutoLock |
Automatic mutex lock/unlock. More... | |
class | pcl::AutoLockCounter |
Automatic mutex lock/unlock with limited concurrent access allowance. More... | |
Namespaces | |
pcl | |
PCL root namespace. | |
Macros | |
#define | Synchronized(mutex, code) |
A macro to protect a simple fragment of code with a Mutex object. More... | |
#define Synchronized | ( | mutex, | |
code | |||
) |
Example of use:
The protected code should not contain tokens that could invalidate macro argument semantics. To synchronize more complex pieces of code, use an AutoLock object explicitly. For example:
Definition at line 367 of file AutoLock.h.