diff options
author | Neil Conway | 2005-04-15 04:18:10 +0000 |
---|---|---|
committer | Neil Conway | 2005-04-15 04:18:10 +0000 |
commit | 4dfc698f5529361f46b676516cc1875ef4e7606d (patch) | |
tree | cb3f17ac14c3d8ba56653ce7701be8b3c524a56b | |
parent | a935cf95640910a89a98615d35033cee0bd3035a (diff) |
Remove an unused variable "waitingForSignal". From Qingqing Zhou.
-rw-r--r-- | src/backend/storage/lmgr/proc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/backend/storage/lmgr/proc.c b/src/backend/storage/lmgr/proc.c index ea6514f8fa..d62dfbf3b8 100644 --- a/src/backend/storage/lmgr/proc.c +++ b/src/backend/storage/lmgr/proc.c @@ -74,7 +74,6 @@ static PROC_HDR *ProcGlobal = NULL; static PGPROC *DummyProcs = NULL; static bool waitingForLock = false; -static bool waitingForSignal = false; /* Mark these volatile because they can be changed by signal handler */ static volatile bool statement_timeout_active = false; @@ -962,9 +961,7 @@ CheckDeadLock(void) void ProcWaitForSignal(void) { - waitingForSignal = true; PGSemaphoreLock(&MyProc->sem, true); - waitingForSignal = false; } /* @@ -978,7 +975,6 @@ void ProcCancelWaitForSignal(void) { PGSemaphoreReset(&MyProc->sem); - waitingForSignal = false; } /* |