dius 0.1.0
Loading...
Searching...
No Matches
dius::Mutex Class Reference

#include <platform/posix/dius/mutex.h>

Public Member Functions

 Mutex ()
 
 Mutex (Mutex const &)=delete
 
 ~Mutex ()
 
void operator= (Mutex const &)=delete
 
void lock ()
 
auto try_lock () -> bool
 
void unlock ()
 
auto native_handle () -> pthread_mutex_t *
 

Constructor & Destructor Documentation

◆ Mutex() [1/2]

dius::Mutex::Mutex ( )

◆ Mutex() [2/2]

dius::Mutex::Mutex ( Mutex const & )
delete

◆ ~Mutex()

dius::Mutex::~Mutex ( )

Member Function Documentation

◆ lock()

void dius::Mutex::lock ( )

◆ native_handle()

auto dius::Mutex::native_handle ( ) -> pthread_mutex_t*
inline

◆ operator=()

void dius::Mutex::operator= ( Mutex const & )
delete

◆ try_lock()

auto dius::Mutex::try_lock ( ) -> bool

◆ unlock()

void dius::Mutex::unlock ( )

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