ipc.h

来自「PostgreSQL 8.1.4的源码 适用于Linux下的开源数据库系统」· C头文件 代码 · 共 35 行

H
35
字号
/*------------------------------------------------------------------------- * * ipc.h *	  POSTGRES inter-process communication definitions. * * This file is misnamed, as it no longer has much of anything directly * to do with IPC.	The functionality here is concerned with managing * exit-time cleanup for either a postmaster or a backend. * * * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * $PostgreSQL: pgsql/src/include/storage/ipc.h,v 1.71 2005/06/17 22:32:49 tgl Exp $ * *------------------------------------------------------------------------- */#ifndef IPC_H#define IPC_H/* ipc.c */extern bool proc_exit_inprogress;extern void proc_exit(int code);extern void shmem_exit(int code);extern void on_proc_exit(void (*function) (int code, Datum arg), Datum arg);extern void on_shmem_exit(void (*function) (int code, Datum arg), Datum arg);extern void on_exit_reset(void);/* ipci.c */extern void CreateSharedMemoryAndSemaphores(bool makePrivate, int port);#endif   /* IPC_H */

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?