Further tweak for comment in CheckDeadLock(), per Tom.
authorNeil Conway <neilc@samurai.com>
Mon, 9 Jun 2008 18:23:05 +0000 (18:23 +0000)
committerNeil Conway <neilc@samurai.com>
Mon, 9 Jun 2008 18:23:05 +0000 (18:23 +0000)
src/backend/storage/lmgr/proc.c

index 4517ab81ec973ecd48b4848a084f5fff81313337..3a9f90d497d48bf0967ff9ad8dd30d00d5731efc 100644 (file)
@@ -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