unique_lock::owns_lock Method
Specifies whether the calling thread owns the associated mutex.
bool owns_lock() const _NOEXCEPT;
Return Value
true if the thread owns the mutex; otherwise, false.
Requirements
Header: mutex
Namespace: std
Não há mais suporte para esse navegador.
Atualize o Microsoft Edge para aproveitar os recursos, o suporte técnico e as atualizações de segurança mais recentes.
Specifies whether the calling thread owns the associated mutex.
bool owns_lock() const _NOEXCEPT;
true if the thread owns the mutex; otherwise, false.
Header: mutex
Namespace: std