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

#include "oct-mutex.h"

Collaboration diagram for octave::mutex:

Public Member Functions

 mutex (const mutex &m)
 
 mutex (void)
 
 ~mutex (void)
 
void lock (void)
 
mutexoperator= (const mutex &m)
 
bool try_lock (void)
 
void unlock (void)
 

Protected Attributes

base_mutexm_rep
 

Detailed Description

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

Constructor & Destructor Documentation

◆ mutex() [1/2]

octave::mutex::mutex ( void  )

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

◆ mutex() [2/2]

octave::mutex::mutex ( const mutex m)
inline

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

◆ ~mutex()

octave::mutex::~mutex ( void  )
inline

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

Member Function Documentation

◆ lock()

void octave::mutex::lock ( void  )
inline

◆ operator=()

mutex& octave::mutex::operator= ( const mutex m)
inline

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

References m.

◆ try_lock()

bool octave::mutex::try_lock ( void  )
inline

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

◆ unlock()

void octave::mutex::unlock ( void  )
inline

Member Data Documentation

◆ m_rep

base_mutex* octave::mutex::m_rep
protected

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


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