diff options
Diffstat (limited to 'runtime/base/mutex.h')
-rw-r--r-- | runtime/base/mutex.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/base/mutex.h b/runtime/base/mutex.h index e3d89e7449..9185f79ab7 100644 --- a/runtime/base/mutex.h +++ b/runtime/base/mutex.h @@ -394,7 +394,7 @@ class EXPORT SHARED_LOCKABLE ReaderWriterMutex : public BaseMutex { // Id associated with exclusive owner. No memory ordering semantics if called from a thread other // than the owner. Returns 0 if the lock is not held. Returns either 0 or -1 if it is held by - // one or more readers. + // one or more readers. Not reliable unless the mutex is held. pid_t GetExclusiveOwnerTid() const; void Dump(std::ostream& os) const override; |