Further tweak for comment in CheckDeadLock(), per Tom.

This commit is contained in:
Neil Conway 2008-06-09 18:23:05 +00:00
parent da80a4b97e
commit 8374246054
1 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/storage/lmgr/proc.c,v 1.200 2008/06/09 06:55:34 neilc Exp $
* $PostgreSQL: pgsql/src/backend/storage/lmgr/proc.c,v 1.201 2008/06/09 18:23:05 neilc Exp $
*
*-------------------------------------------------------------------------
*/
@ -1171,9 +1171,9 @@ CheckDeadLock(void)
/*
* Check to see if we've been awoken by anyone in the interim.
*
* If we can return and resume our transaction -- happy day. Before we
* are awoken the process releasing the lock grants it to us so we know
* that we don't have to wait anymore.
* If we have, we can return and resume our transaction -- happy day.
* Before we are awoken the process releasing the lock grants it to us
* so we know that we don't have to wait anymore.
*
* We check by looking to see if we've been unlinked from the wait queue.
* This is quicker than checking our semaphore's state, since no kernel