wdtvx.c

来自「extremeDB s sample code,useful for you」· C语言 代码 · 共 48 行

C
48
字号
/***************************************************************** *                                                               * *  wdtvx.c                                                      * *                                                               * * 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:    wdtvx.c * * ABSTRACT:  WATCHDOG asynchron processing procedures for HA support * * * VERSION:   1.0 * * HISTORY: *            1.0- 1 SS     19-Oct-2003 Created it was * * -- */#include   "platform.h"#include   <sys/times.h>#include   <signal.h>#include   <time.h>#include   "watchdog.h"int mco_create_watchdog( long msec, MCO_PWATCHDOG proc){        return	0;}void mco_kill_watchdog( long msec, MCO_PWATCHDOG proc){}

⌨️ 快捷键说明

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