Visual Servoing Platform  version 3.6.1 under development (2024-04-18)
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 66 of file vpMutex.h.

Constructor & Destructor Documentation

◆ vpMutex()

vpMutex::vpMutex ( )
inline

Definition at line 69 of file vpMutex.h.

Member Function Documentation

◆ lock()

void vpMutex::lock ( )
inline

Definition at line 87 of file vpMutex.h.

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

◆ unlock()

void vpMutex::unlock ( )
inline

Definition at line 103 of file vpMutex.h.

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