diff options
| author | Tom Lane <tgl@sss.pgh.pa.us> | 2005-05-19 21:35:48 +0000 |
|---|---|---|
| committer | Tom Lane <tgl@sss.pgh.pa.us> | 2005-05-19 21:35:48 +0000 |
| commit | ee3b71f6bce929b07636f76d1654832cb6b5a489 (patch) | |
| tree | ce95108d3c0e832555b78e96afb173458991b19e /src/include/storage/proc.h | |
| parent | 6910032a56dd3841be137b4bef7c57ef32a60ac8 (diff) | |
Split the shared-memory array of PGPROC pointers out of the sinval
communication structure, and make it its own module with its own lock.
This should reduce contention at least a little, and it definitely makes
the code seem cleaner. Per my recent proposal.
Diffstat (limited to 'src/include/storage/proc.h')
| -rw-r--r-- | src/include/storage/proc.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h index 8d514fce94d..f771d71933c 100644 --- a/src/include/storage/proc.h +++ b/src/include/storage/proc.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/storage/proc.h,v 1.77 2004/12/31 22:03:42 pgsql Exp $ + * $PostgreSQL: pgsql/src/include/storage/proc.h,v 1.78 2005/05/19 21:35:47 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -15,7 +15,6 @@ #define _PROC_H_ #include "access/xlog.h" -#include "storage/backendid.h" #include "storage/lock.h" #include "storage/pg_sema.h" @@ -137,7 +136,7 @@ extern bool LockWaitCancel(void); extern void ProcWaitForSignal(void); extern void ProcCancelWaitForSignal(void); -extern void ProcSendSignal(BackendId procId); +extern void ProcSendSignal(int pid); extern bool enable_sig_alarm(int delayms, bool is_statement_timeout); extern bool disable_sig_alarm(bool is_statement_timeout); |
