GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
mutex Class Reference

#include "oct-mutex.h"

Public Member Functions

 mutex ()
 
void lock ()
 
bool try_lock ()
 
void unlock ()
 

Protected Attributes

std::shared_ptr< base_mutexm_rep
 

Detailed Description

Definition at line 55 of file oct-mutex.h.

Constructor & Destructor Documentation

◆ mutex()

mutex::mutex ( )

Definition at line 183 of file oct-mutex.cc.

Member Function Documentation

◆ lock()

void mutex::lock ( )
inline

Definition at line 64 of file oct-mutex.h.

References m_rep.

Referenced by event_manager::discard_events(), and event_manager::process_events().

◆ try_lock()

bool mutex::try_lock ( )
inline

Definition at line 74 of file oct-mutex.h.

References m_rep.

◆ unlock()

void mutex::unlock ( )
inline

Definition at line 69 of file oct-mutex.h.

References m_rep.

Referenced by event_manager::discard_events(), and event_manager::process_events().

Member Data Documentation

◆ m_rep

std::shared_ptr<base_mutex> mutex::m_rep
protected

Definition at line 80 of file oct-mutex.h.

Referenced by lock(), try_lock(), and unlock().


The documentation for this class was generated from the following files: