Skip to content

Commit 8374246

Browse files
author
Neil Conway
committed
Further tweak for comment in CheckDeadLock(), per Tom.
1 parent da80a4b commit 8374246

File tree

1 file changed

+4
-4
lines changed
  • src/backend/storage/lmgr

1 file changed

+4
-4
lines changed

src/backend/storage/lmgr/proc.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/storage/lmgr/proc.c,v 1.200 2008/06/09 06:55:34 neilc Exp $
11+
* $PostgreSQL: pgsql/src/backend/storage/lmgr/proc.c,v 1.201 2008/06/09 18:23:05 neilc Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -1171,9 +1171,9 @@ CheckDeadLock(void)
11711171
/*
11721172
* Check to see if we've been awoken by anyone in the interim.
11731173
*
1174-
* If we can return and resume our transaction -- happy day. Before we
1175-
* are awoken the process releasing the lock grants it to us so we know
1176-
* that we don't have to wait anymore.
1174+
* If we have, we can return and resume our transaction -- happy day.
1175+
* Before we are awoken the process releasing the lock grants it to us
1176+
* so we know that we don't have to wait anymore.
11771177
*
11781178
* We check by looking to see if we've been unlinked from the wait queue.
11791179
* This is quicker than checking our semaphore's state, since no kernel

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy