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

#include "oct-mutex.h"

Collaboration diagram for octave::base_mutex:

Public Member Functions

 base_mutex (void)
 
virtual ~base_mutex (void)=default
 
virtual void lock (void)
 
virtual bool try_lock (void)
 
virtual void unlock (void)
 

Private Attributes

refcount< octave_idx_typem_count
 

Friends

class mutex
 

Detailed Description

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

Constructor & Destructor Documentation

◆ base_mutex()

octave::base_mutex::base_mutex ( void  )
inline

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

◆ ~base_mutex()

virtual octave::base_mutex::~base_mutex ( void  )
virtualdefault

Member Function Documentation

◆ lock()

void octave::base_mutex::lock ( void  )
virtual

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

◆ try_lock()

bool octave::base_mutex::try_lock ( void  )
virtual

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

◆ unlock()

void octave::base_mutex::unlock ( void  )
virtual

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

Friends And Related Function Documentation

◆ mutex

friend class mutex
friend

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

Member Data Documentation

◆ m_count

refcount<octave_idx_type> octave::base_mutex::m_count
private

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


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