GNU Octave 10.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 
Loading...
Searching...
No Matches
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 53 of file oct-mutex.h.

Constructor & Destructor Documentation

◆ mutex()

mutex::mutex ( )

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

Member Function Documentation

◆ lock()

void mutex::lock ( )
inline

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

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

◆ try_lock()

bool mutex::try_lock ( )
inline

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

◆ unlock()

void mutex::unlock ( )
inline

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

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 76 of file oct-mutex.h.


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