git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ad9201f)
Remove an unused variable "waitingForSignal". From Qingqing Zhou.
2005年4月15日 04:18:10 +0000 (04:18 +0000)
2005年4月15日 04:18:10 +0000 (04:18 +0000)

diff --git a/src/backend/storage/lmgr/proc.c b/src/backend/storage/lmgr/proc.c
index 5056f523d7b9f55586aa50d0e508f3e1530419fa..c3ba65442168cc0d27ea02eaece66343c23cfbe2 100644 (file)
--- a/src/backend/storage/lmgr/proc.c
+++ b/src/backend/storage/lmgr/proc.c
@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/storage/lmgr/proc.c,v 1.156 2004年12月31日 22:01:05 pgsql Exp $
+ * $PostgreSQL: pgsql/src/backend/storage/lmgr/proc.c,v 1.157 2005年04月15日 04:18:10 neilc Exp $
*
*-------------------------------------------------------------------------
*/
@@ -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;
}
/*
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /