]> granicus.if.org Git - postgresql/commitdiff
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 b20cbe249f82dad4275f3a919fbccdd29aedb1d0..9548b6c0fa13197c904a7ee7b60ded89b8731449 100644 (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