Visual Servoing Platform version 3.7.0
Loading...
Searching...
No Matches
vpMutex Class Reference

#include <vpMutex.h>

Classes

class  vpScopedLock

Public Member Functions

 vpMutex ()
void lock ()
void unlock ()

Detailed Description

Deprecated
Use rather std::mutex.

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.

See also
vpScopedLock

Definition at line 83 of file vpMutex.h.

Constructor & Destructor Documentation

◆ vpMutex()

vpMutex::vpMutex ( )
inline

Definition at line 86 of file vpMutex.h.

Referenced by vpMutex::vpScopedLock::vpScopedLock().

Member Function Documentation

◆ lock()

void vpMutex::lock ( )
inline

Definition at line 104 of file vpMutex.h.

◆ unlock()

void vpMutex::unlock ( )
inline

Definition at line 120 of file vpMutex.h.