Skip to content

Commit 3bc9356

Browse files
committed
Remove outdated comment in LWLockDequeueSelf's header.
Noticed-By: Robert Haas Backpatch: 9.5, where the function was added
1 parent a309ebd commit 3bc9356

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/storage/lmgr/lwlock.c

+1-2
Original file line numberDiff line numberDiff line change
@@ -796,8 +796,7 @@ LWLockQueueSelf(LWLock *lock, LWLockMode mode)
796796
*
797797
* This is used if we queued ourselves because we thought we needed to sleep
798798
* but, after further checking, we discovered that we don't actually need to
799-
* do so. Returns false if somebody else already has woken us up, otherwise
800-
* returns true.
799+
* do so.
801800
*/
802801
static void
803802
LWLockDequeueSelf(LWLock *lock)

0 commit comments

Comments
 (0)