async.h

来自「关系型数据库 Postgresql 6.5.2」· C头文件 代码 · 共 39 行

H
39
字号
/*------------------------------------------------------------------------- * * async.h *	  Asynchronous notification: NOTIFY, LISTEN, UNLISTEN * * Copyright (c) 1994, Regents of the University of California * * $Id: async.h,v 1.11 1999/02/13 23:21:17 momjian Exp $ * *------------------------------------------------------------------------- */#ifndef ASYNC_H#define ASYNC_H#include <postgres.h>/* notify-related SQL statements */extern void Async_Notify(char *relname);extern void Async_Listen(char *relname, int pid);extern void Async_Unlisten(char *relname, int pid);/* perform (or cancel) outbound notify processing at transaction commit */extern void AtCommit_Notify(void);extern void AtAbort_Notify(void);/* signal handler for inbound notifies (SIGUSR2) */extern void Async_NotifyHandler(SIGNAL_ARGS);/* * enable/disable processing of inbound notifies directly from signal handler. * The enable routine first performs processing of any inbound notifies that * have occurred since the last disable.  These are meant to be called ONLY * from the appropriate places in PostgresMain(). */extern void EnableNotifyInterrupt(void);extern void DisableNotifyInterrupt(void);#endif	 /* ASYNC_H */

⌨️ 快捷键说明

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