|
8 | 8 | *
|
9 | 9 | *
|
10 | 10 | * 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 $ |
12 | 12 | *
|
13 | 13 | *-------------------------------------------------------------------------
|
14 | 14 | */
|
@@ -1171,9 +1171,9 @@ CheckDeadLock(void)
|
1171 | 1171 | /*
|
1172 | 1172 | * Check to see if we've been awoken by anyone in the interim.
|
1173 | 1173 | *
|
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. |
1177 | 1177 | *
|
1178 | 1178 | * We check by looking to see if we've been unlinked from the wait queue.
|
1179 | 1179 | * This is quicker than checking our semaphore's state, since no kernel
|
|