Class that allows protection by mutex.
This class implements native pthread functionalities if available, of native Windows threading capabilities if pthread is not available under Windows.
An example of vpMutex usage is given in testMutex.cpp.
More examples are provided in Tutorial: How to use multi-threading capabilities.
- See also
- vpScopedLock
- Examples
- grabRealSense.cpp, testForceTorqueAti.cpp, testMutex.cpp, tutorial-face-detector-live-threaded.cpp, tutorial-grabber-opencv-threaded.cpp, and tutorial-grabber-v4l2-threaded.cpp.
Definition at line 73 of file vpMutex.h.