From 837424605408c0772258291bf47e94f4d9111b9a Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Mon, 9 Jun 2008 18:23:05 +0000 Subject: [PATCH] Further tweak for comment in CheckDeadLock(), per Tom. --- src/backend/storage/lmgr/proc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/backend/storage/lmgr/proc.c b/src/backend/storage/lmgr/proc.c index b20cbe249f..9548b6c0fa 100644 --- a/src/backend/storage/lmgr/proc.c +++ b/src/backend/storage/lmgr/proc.c @@ -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 -- 2.40.0