Visual Servoing Platform  version 3.6.1 under development (2024-10-01)
vpMutex Class Reference

#include <visp3/core/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 70 of file vpMutex.h.

Constructor & Destructor Documentation

◆ vpMutex()

vpMutex::vpMutex ( )
inline

Definition at line 73 of file vpMutex.h.

Member Function Documentation

◆ lock()

void vpMutex::lock ( )
inline

Definition at line 91 of file vpMutex.h.

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

◆ unlock()

void vpMutex::unlock ( )
inline

Definition at line 107 of file vpMutex.h.

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