SBMutex

class lldb.SBMutex(*args)

Proxy of C++ lldb::SBMutex class.

Methods Summary

IsValid()

Returns true if this lock has ownership of the underlying mutex.

lock()

Blocking operation that takes ownership of this lock.

try_lock()

Tries to lock the mutex.

unlock()

Releases ownership of this lock.

Methods Documentation

IsValid()

Returns true if this lock has ownership of the underlying mutex.

lock()

Blocking operation that takes ownership of this lock.

try_lock()

Tries to lock the mutex. Returns immediately. On successful lock acquisition returns true, otherwise returns false.

unlock()

Releases ownership of this lock.