summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/include/IceUtil/RecMutex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/include/IceUtil/RecMutex.h b/cpp/include/IceUtil/RecMutex.h
index 07b6b433c86..ef0a145fc14 100644
--- a/cpp/include/IceUtil/RecMutex.h
+++ b/cpp/include/IceUtil/RecMutex.h
@@ -46,7 +46,8 @@ public:
void lock() const;
//
- // Returns true if the lock was acquired, and false otherwise.
+ // Returns true if the lock was acquired or was already acquired
+ // by the calling thread, and false otherwise.
//
bool tryLock() const;