Skip to main content

thread::Mutex

Types

ProcessShared#

  • shared
  • private_

Protocol#

  • priority_none
  • priority_inherit
  • priority_protect

Scope#

using thread::Mutex::Scope =  Guard 

Type: Guard

Type#

  • normal
  • recursive

Friends

Cond#

friend class Cond 

Type: class

Parameters:

Functions

Mutex()#

thread::Mutex::Mutex ()

Mutex(const Attributes &attr)#

explicit

thread::Mutex::Mutex (const Attributes &attr)

Mutex(const Mutex &mutex)=delete#

thread::Mutex::Mutex (const Mutex &mutex)=delete

Mutex(Mutex &&a) noexcept#

inline

thread::Mutex::Mutex (Mutex &&a) noexcept

~Mutex()#

thread::Mutex::~Mutex ()

lock()#

Mutex & thread::Mutex::lock ()

Type: Mutex &

lock_timed(const chrono::ClockTime &clock_time)#

Mutex & thread::Mutex::lock_timed (const chrono::ClockTime &clock_time)

Type: Mutex &

Parameters:

  • const chrono::ClockTime & clock_time

operator=(const Mutex &mutex)=delete#

Mutex & thread::Mutex::operator= (const Mutex &mutex)=delete

Type: Mutex &

Parameters:

operator=(Mutex &&a) noexcept#

inline

Mutex & thread::Mutex::operator= (Mutex &&a) noexcept

Type: Mutex &

Parameters:

try_lock()#

bool thread::Mutex::try_lock ()

Type: bool

unlock()#

Mutex & thread::Mutex::unlock ()

Type: Mutex &

unlock_with_error_check()#

Mutex & thread::Mutex::unlock_with_error_check ()

Type: Mutex &