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

+4-4
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)