GNU Octave  4.4.1
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 (void)
 
 mutex (const mutex &m)
 
 ~mutex (void)
 
void lock (void)
 
mutexoperator= (const mutex &m)
 
bool try_lock (void)
 
void unlock (void)
 

Protected Attributes

base_mutexrep
 

Detailed Description

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

Constructor & Destructor Documentation

◆ mutex() [1/2]

octave::mutex::mutex ( void  )

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

◆ mutex() [2/2]

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

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

◆ ~mutex()

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

Definition at line 67 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 73 of file oct-mutex.h.

References octave::base_mutex::count, and rep.

◆ try_lock()

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

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

◆ unlock()

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

Member Data Documentation

◆ rep

base_mutex* octave::mutex::rep
protected

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

Referenced by operator=().


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