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() bool#
Returns true if this lock has ownership of the underlying mutex.
- lock() None#
Blocking operation that takes ownership of this lock.
- try_lock() bool#
Tries to lock the mutex. Returns immediately. On successful lock acquisition returns true, otherwise returns false.
- unlock() None#
Releases ownership of this lock.