projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a935cf9
)
Remove an unused variable "waitingForSignal". From Qingqing Zhou.
author
Neil Conway
<neilc@samurai.com>
Fri, 15 Apr 2005 04:18:10 +0000
(
04:18
+0000)
committer
Neil Conway
<neilc@samurai.com>
Fri, 15 Apr 2005 04:18:10 +0000
(
04:18
+0000)
src/backend/storage/lmgr/proc.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/storage/lmgr/proc.c
b/src/backend/storage/lmgr/proc.c
index ea6514f8fa25021dd9d16e9433760820d6c52a2b..d62dfbf3b856414bfb99f96121f101814e15d9df 100644
(file)
--- 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;
}
/*