postgres.git / summary / log / commit / refs
commit 81191f65820d3cf29ea94fe7f65c065e8c6a296c
Author: Andres Freund <andres@anarazel.de>
Date: Wed Jul 29 08:14:32 2015 +0000
Remove outdated comment in LWLockDequeueSelf's header.
Noticed-By: Robert Haas
Backpatch: 9.5, where the function was added
src/backend/storage/lmgr/lwlock.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/backend/storage/lmgr/lwlock.c b/src/backend/storage/lmgr/lwlock.c
index 46cab4911e7..e5566d1b609 100644
--- a/src/backend/storage/lmgr/lwlock.c
+++ b/src/backend/storage/lmgr/lwlock.c
@@ -796,8 +796,7 @@ LWLockQueueSelf(LWLock *lock, LWLockMode mode)
*
* This is used if we queued ourselves because we thought we needed to sleep
* but, after further checking, we discovered that we don't actually need to
- * do so. Returns false if somebody else already has woken us up, otherwise
- * returns true.
+ * do so.
*/
static void
LWLockDequeueSelf(LWLock *lock)
[parent: 6f1789a475fe]