Remove duplocate lock_timeout value.
This commit is contained in:
parent
e037c351d4
commit
9f133d23ff
|
@ -7,7 +7,7 @@
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.22 1997/09/18 20:21:39 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.23 1997/10/30 17:23:59 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
* This is so that we can support more backends. (system-wide semaphore
|
* This is so that we can support more backends. (system-wide semaphore
|
||||||
* sets run out pretty fast.) -ay 4/95
|
* sets run out pretty fast.) -ay 4/95
|
||||||
*
|
*
|
||||||
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.22 1997/09/18 20:21:39 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/storage/lmgr/proc.c,v 1.23 1997/10/30 17:23:59 momjian Exp $
|
||||||
*/
|
*/
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
@ -79,13 +79,6 @@
|
||||||
static void HandleDeadLock(int sig);
|
static void HandleDeadLock(int sig);
|
||||||
static PROC *ProcWakeup(PROC *proc, int errType);
|
static PROC *ProcWakeup(PROC *proc, int errType);
|
||||||
|
|
||||||
/*
|
|
||||||
* timeout (in seconds) for resolving possible deadlock
|
|
||||||
*/
|
|
||||||
#ifndef DEADLOCK_TIMEOUT
|
|
||||||
#define DEADLOCK_TIMEOUT 60
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* --------------------
|
/* --------------------
|
||||||
* Spin lock for manipulating the shared process data structure:
|
* Spin lock for manipulating the shared process data structure:
|
||||||
* ProcGlobal.... Adding an extra spin lock seemed like the smallest
|
* ProcGlobal.... Adding an extra spin lock seemed like the smallest
|
||||||
|
|
Loading…
Reference in New Issue