File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change 88 *
99 *
1010 * IDENTIFICATION
11- * $PostgreSQL: pgsql/src/backend/storage/lmgr/proc.c,v 1.156 2004/12/31 22:01:05 pgsql Exp $
11+ * $PostgreSQL: pgsql/src/backend/storage/lmgr/proc.c,v 1.157 2005/04/15 04:18:10 neilc Exp $
1212 *
1313 *-------------------------------------------------------------------------
1414 */
@@ -74,7 +74,6 @@ static PROC_HDR *ProcGlobal = NULL;
7474static PGPROC * DummyProcs = NULL ;
7575
7676static bool waitingForLock = false;
77- static bool waitingForSignal = false;
7877
7978/* Mark these volatile because they can be changed by signal handler */
8079static volatile bool statement_timeout_active = false;
@@ -962,9 +961,7 @@ CheckDeadLock(void)
962961void
963962ProcWaitForSignal (void )
964963{
965- waitingForSignal = true;
966964 PGSemaphoreLock (& MyProc -> sem , true);
967- waitingForSignal = false;
968965}
969966
970967/*
978975ProcCancelWaitForSignal (void )
979976{
980977 PGSemaphoreReset (& MyProc -> sem );
981- waitingForSignal = false;
982978}
983979
984980/*
You can’t perform that action at this time.
0 commit comments