Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitea208ac

Browse files
author
Neil Conway
committed
Remove an unused variable "waitingForSignal". From Qingqing Zhou.
1 parentad9201f commitea208ac

File tree

1 file changed

+1
-5
lines changed
  • src/backend/storage/lmgr

1 file changed

+1
-5
lines changed

‎src/backend/storage/lmgr/proc.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
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;
7474
staticPGPROC*DummyProcs=NULL;
7575

7676
staticboolwaitingForLock= false;
77-
staticboolwaitingForSignal= false;
7877

7978
/* Mark these volatile because they can be changed by signal handler */
8079
staticvolatileboolstatement_timeout_active= false;
@@ -962,9 +961,7 @@ CheckDeadLock(void)
962961
void
963962
ProcWaitForSignal(void)
964963
{
965-
waitingForSignal= true;
966964
PGSemaphoreLock(&MyProc->sem, true);
967-
waitingForSignal= false;
968965
}
969966

970967
/*
@@ -978,7 +975,6 @@ void
978975
ProcCancelWaitForSignal(void)
979976
{
980977
PGSemaphoreReset(&MyProc->sem);
981-
waitingForSignal= false;
982978
}
983979

984980
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp