watchdog.h

来自「extremeDB s sample code,useful for you」· C头文件 代码 · 共 51 行

H
51
字号
/***************************************************************** *                                                               * *  watchdog.h                                                   * *                                                               * * This file is a part of the eXtremeDB-HA Application Framework * *   It demonstrates McObject High Availabitity support and      *   * explains how to work with it.                                 * *                                                               *  ***************************************************************** *  Copyright (c) 2001-2006 McObject LLC                         *  *  All Rights Reserved                                          * *****************************************************************//* * ++ *  * PROJECT:   Ha Framework * * SUBSYSTEM: HA support * * MODULE:    watchdog.h * * ABSTRACT:  definitions for WATCHDOG asynchron processing procedures for HA support * * * VERSION:   1.0 * * HISTORY: *            1.0- 1 SS     19-Oct-2003 Created it was * * -- */#ifndef _WATCHDOG_H_#define _WATCHDOG_H_#ifdef __cplusplus  extern "C" { #endif#include  "interface.h"typedef void (*MCO_PWATCHDOG)();int   mco_create_watchdog( long msec, MCO_PWATCHDOG proc);void  mco_kill_watchdog();#ifdef __cplusplus  }#endif#endif //_WATCHDOG_H_

⌨️ 快捷键说明

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