Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8374246

Browse files
author
Neil Conway
committed
Further tweak for comment in CheckDeadLock(), per Tom.
1 parentda80a4b commit8374246

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/0906:55:34 neilc Exp $
11+
* $PostgreSQL: pgsql/src/backend/storage/lmgr/proc.c,v 1.201 2008/06/0918: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 wehave, wecan return and resume our transaction -- happy day.
1175+
*Before weare awoken the process releasing the lock grants it to us
1176+
*so we knowthat 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)

[8]ページ先頭

©2009-2025 Movatter.jp