亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? tms.c

?? nuclues plus 源代碼程序
?? C
?? 第 1 頁 / 共 3 頁
字號:
/*************************************************************************/
/*                                                                       */
/*        Copyright (c) 1993-1996 Accelerated Technology, Inc.           */
/*                                                                       */
/* PROPRIETARY RIGHTS of Accelerated Technology are involved in the      */
/* subject matter of this material.  All manufacturing, reproduction,    */
/* use, and sales rights pertaining to this subject matter are governed  */
/* by the license agreement.  The recipient of this software implicitly  */
/* accepts the terms of the license.                                     */
/*                                                                       */
/*************************************************************************/

/*************************************************************************/
/*                                                                       */
/* FILE NAME                                            VERSION          */
/*                                                                       */
/*      tms.c                                           PLUS  1.2        */
/*                                                                       */
/* COMPONENT                                                             */
/*                                                                       */
/*      TM - Timer Management                                            */
/*                                                                       */
/* DESCRIPTION                                                           */
/*                                                                       */
/*      This file contains supplemental routines for the timer           */
/*      management component.                                            */
/*                                                                       */
/* AUTHOR                                                                */
/*                                                                       */
/*      William E. Lamie, Accelerated Technology, Inc.                   */
/*                                                                       */
/* DATA STRUCTURES                                                       */
/*                                                                       */
/*      None                                                             */
/*                                                                       */
/* FUNCTIONS                                                             */
/*                                                                       */
/*      TMS_Create_Timer                    Create an application timer  */
/*      TMS_Delete_Timer                    Delete an application timer  */
/*      TMS_Reset_Timer                     Reset application timer      */
/*      TMS_Control_Timer                   Enable/Disable application   */
/*                                            timer                      */
/*                                                                       */
/* DEPENDENCIES                                                          */
/*                                                                       */
/*      cs_extr.h                           Common Service functions     */
/*      tc_extr.h                           Thread Control functions     */
/*      tm_extr.h                           Timer functions              */
/*      hi_extr.h                           History functions            */
/*                                                                       */
/* HISTORY                                                               */
/*                                                                       */
/*         NAME            DATE                    REMARKS               */
/*                                                                       */
/*      W. Lamie        03-01-1994      Created initial version 1.1 from */
/*                                        previous version of TMC.C      */
/*      R. Pfaff -                                                       */
/*      D. Lamie        03-18-1994      Verified version 1.1             */
/*      M.Q. Qian       04-17-1996      updated to version 1.2           */
/*                                                                       */
/*************************************************************************/
#define         NU_SOURCE_FILE


#include        "cs_extr.h"                 /* Common service functions  */
#include        "tc_extr.h"                 /* Thread control functions  */
#include        "tm_extr.h"                 /* Timer functions           */
#include        "hi_extr.h"                 /* History functions         */


/* Define external inner-component global data references.  */

extern CS_NODE        *TMD_Created_Timers_List;
extern UNSIGNED        TMD_Total_Timers;
extern TM_TCB         *TMD_Active_Timers_List;
extern INT             TMD_Active_List_Busy;
extern TC_PROTECT      TMD_Created_List_Protect;


/* Define internal function prototypes.  */

VOID            TMC_Start_Timer(TM_TCB *timer, UNSIGNED time);
VOID            TMC_Stop_Timer(TM_TCB *timer); 



/*************************************************************************/
/*                                                                       */
/* FUNCTION                                                              */
/*                                                                       */
/*      TMS_Create_Timer                                                 */
/*                                                                       */
/* DESCRIPTION                                                           */
/*                                                                       */
/*      This function creates an application timer and places it on the  */
/*      list of created timers.  The timer is activated if designated by */
/*      the enable parameter.                                            */
/*                                                                       */
/* AUTHOR                                                                */
/*                                                                       */
/*      William E. Lamie, Accelerated Technology, Inc.                   */
/*                                                                       */
/* CALLED BY                                                             */
/*                                                                       */
/*      Application                                                      */
/*      TMSE_Create_Timer                   Error checking shell         */
/*                                                                       */
/* CALLS                                                                 */
/*                                                                       */
/*      CSC_Place_On_List                   Add node to linked-list      */
/*      [HIC_Make_History_Entry]            Make entry in history log    */
/*      [TCT_Check_Stack]                   Stack checking function      */
/*      TCT_Protect                         Data structure protect       */
/*      TCT_Unprotect                       Un-protect data structure    */
/*      TMS_Control_Timer                   Enable the new timer         */
/*                                                                       */
/* INPUTS                                                                */
/*                                                                       */
/*      timer_ptr                           Timer control block pointer  */
/*      name                                Timer name                   */
/*      expiration_routine                  Timer expiration routine     */
/*      id                                  Timer expiration ID          */
/*      initial_time                        Initial expiration time      */
/*      reschedule_time                     Reschedule expiration time   */
/*      enable                              Automatic enable option      */
/*                                                                       */
/* OUTPUTS                                                               */
/*                                                                       */
/*      NU_SUCCESS                                                       */
/*                                                                       */
/* HISTORY                                                               */
/*                                                                       */
/*         NAME            DATE                    REMARKS               */
/*                                                                       */
/*      W. Lamie        03-01-1993      Created initial version 1.0      */
/*      D. Lamie        04-19-1993      Verified version 1.0             */
/*      W. Lamie        03-01-1994      Changed function prototype,      */
/*                                        resulting in version 1.1       */
/*      R. Pfaff -                                                       */
/*      D. Lamie        03-18-1994      Verified version 1.1             */
/*                                                                       */
/*************************************************************************/
STATUS  TMS_Create_Timer(NU_TIMER *timer_ptr, CHAR *name, 
                VOID (*expiration_routine)(UNSIGNED), UNSIGNED id,
                UNSIGNED initial_time, UNSIGNED reschedule_time, OPTION enable)
{

R1 TM_APP_TCB  *timer;                      /* Timer control block ptr   */
INT             i;                          /* Working index variable    */


    /* Move input timer pointer into internal pointer.  */
    timer =  (TM_APP_TCB *) timer_ptr;


#ifdef  NU_ENABLE_STACK_CHECK

    /* Call stack checking function to check for an overflow condition.  */
    TCT_Check_Stack();

#endif

#ifdef  NU_ENABLE_HISTORY

    /* Make an entry that corresponds to this function in the system history
       log.  */
    HIC_Make_History_Entry(NU_CREATE_TIMER_ID, (UNSIGNED) timer, 
                               (UNSIGNED) name, (UNSIGNED) expiration_routine);

#endif

    /* First, clear the timer ID just in case it is an old Timer
       Control Block.  */
    timer -> tm_id =             0;
    
    /* Fill in the timer name.  */
    for (i = 0; i < NU_MAX_NAME; i++)
        timer -> tm_name[i] =  name[i];    
        
    /* Load the timer with the appropriate values.  */
    timer -> tm_expiration_routine =            expiration_routine;
    timer -> tm_expiration_id =                 id;
    timer -> tm_expirations =                   0;
    timer -> tm_initial_time =                  initial_time;
    timer -> tm_reschedule_time =               reschedule_time;
    timer -> tm_actual_timer.tm_timer_type =    TM_APPL_TIMER;
    timer -> tm_enabled =                       NU_FALSE;

    /* Initialize link pointers.  */
    timer -> tm_created.cs_previous =           NU_NULL;
    timer -> tm_created.cs_next =               NU_NULL;
    timer -> tm_actual_timer.tm_next_timer =    NU_NULL;
    timer -> tm_actual_timer.tm_previous_timer= NU_NULL;
    timer -> tm_actual_timer.tm_information =   (VOID *) timer;

    /* Protect against access to the list of created timers.  */
    TCT_Protect(&TMD_Created_List_Protect);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕高清不卡| 日韩欧美亚洲一区二区| 久久国产生活片100| 亚洲在线一区二区三区| 亚洲欧美视频在线观看视频| 国产喷白浆一区二区三区| 久久久久久久久久美女| 久久先锋资源网| 精品少妇一区二区三区日产乱码 | 国产又粗又猛又爽又黄91精品| 亚洲va欧美va国产va天堂影院| 午夜伊人狠狠久久| 青青草视频一区| 激情av综合网| 国产成人高清视频| 成人av在线网站| 欧美在线观看视频一区二区三区| 欧美性视频一区二区三区| 欧美老年两性高潮| 日韩欧美国产综合在线一区二区三区| 日韩一级精品视频在线观看| 精品少妇一区二区三区免费观看 | 国产精品你懂的在线| 国产精品激情偷乱一区二区∴| 综合电影一区二区三区 | 欧美久久久久免费| 欧美xxxx老人做受| 国产精品视频第一区| 亚洲精品日产精品乱码不卡| 午夜精品久久久久久久| 日韩av在线发布| 成人三级伦理片| 欧美日韩在线播放三区| 久久美女艺术照精彩视频福利播放| 中文字幕乱码久久午夜不卡| 国产精品卡一卡二卡三| 亚洲国产精品久久人人爱| 理论片日本一区| 9l国产精品久久久久麻豆| 欧美日本一区二区三区| 欧美激情一区二区三区不卡| 亚洲成人一二三| 成人自拍视频在线| 欧美肥妇bbw| 国产精品网站在线观看| 人人爽香蕉精品| 99re热视频精品| 欧美r级在线观看| 亚洲影院久久精品| 懂色av一区二区三区蜜臀| 欧美一区二区在线观看| 国产精品国产三级国产a| 三级欧美在线一区| 97se亚洲国产综合自在线观| 日韩欧美一区二区视频| 亚洲免费色视频| 粗大黑人巨茎大战欧美成人| 欧美肥妇free| 亚洲午夜免费福利视频| 成人国产精品免费| 精品久久久久av影院| 午夜不卡在线视频| 色综合激情五月| 中文幕一区二区三区久久蜜桃| 毛片一区二区三区| 欧美美女黄视频| 亚洲第一福利一区| 日本丶国产丶欧美色综合| 中文字幕一区二区5566日韩| 国产一区二区福利视频| 2021国产精品久久精品| 另类欧美日韩国产在线| 在线观看91av| 日本美女一区二区三区视频| 欧美私人免费视频| 性欧美疯狂xxxxbbbb| 欧美性生活久久| 一区二区三区视频在线看| 色又黄又爽网站www久久| 亚洲欧美电影院| 色婷婷激情久久| 亚洲最色的网站| 欧美视频自拍偷拍| 免费观看在线色综合| 欧美日韩一区国产| 日韩经典一区二区| 日韩一区二区免费在线电影 | 91麻豆精品国产91久久久资源速度 | 国产精品美女久久久久久2018| 国产一区欧美二区| 亚洲国产精品成人综合| 91影视在线播放| 亚洲国产日韩a在线播放性色| 在线观看国产日韩| 午夜成人在线视频| 日韩精品在线网站| 国产一区二区三区四区五区美女| 久久女同互慰一区二区三区| 成人黄色一级视频| 亚洲精品国产精华液| 欧美日韩精品一区二区三区四区| 天天综合天天综合色| 日韩亚洲欧美在线观看| 国产精品综合视频| 中文字幕在线一区免费| 欧美色图免费看| 久久av资源站| 中文字幕视频一区| 欧美精品丝袜久久久中文字幕| 激情欧美日韩一区二区| 成人欧美一区二区三区小说| 欧美日韩国产影片| 国产一区不卡精品| 一区二区三区在线观看欧美| 日韩免费观看2025年上映的电影 | 国产精品美日韩| 欧美日本一区二区| 国产69精品一区二区亚洲孕妇| **欧美大码日韩| 精品成人免费观看| 欧美在线观看一区| 福利电影一区二区| 日本中文字幕一区二区视频| 国产精品欧美经典| 精品少妇一区二区| 91国内精品野花午夜精品| 国产真实精品久久二三区| 亚洲一区在线观看免费观看电影高清| 欧美videossexotv100| 在线欧美日韩精品| 国产成人亚洲精品青草天美| 亚洲一区二区三区免费视频| 久久精品夜色噜噜亚洲a∨| 欧美日韩一区二区在线观看| 丰满亚洲少妇av| 免费在线成人网| 亚洲成人精品影院| 伊人性伊人情综合网| 国产日韩亚洲欧美综合| 欧美一区二区三区播放老司机| 一本一道久久a久久精品 | 不卡的电影网站| 国内久久婷婷综合| 美国欧美日韩国产在线播放| 亚洲国产日日夜夜| 一区二区三区在线视频免费观看| 久久久久国产精品厨房| 欧美成人高清电影在线| 在线观看91av| 欧美精选午夜久久久乱码6080| 在线亚洲人成电影网站色www| 成人黄色综合网站| 成人激情小说网站| 高清国产午夜精品久久久久久| 黄页网站大全一区二区| 美女在线观看视频一区二区| 麻豆国产欧美日韩综合精品二区| 视频一区二区国产| 热久久一区二区| 麻豆精品一区二区三区| 麻豆精品久久久| 国产资源在线一区| 国产成人丝袜美腿| 成人综合婷婷国产精品久久| 成人精品gif动图一区| 99久久夜色精品国产网站| a亚洲天堂av| 欧美性极品少妇| 欧美军同video69gay| 91精品国产综合久久福利| 日韩欧美一区中文| 久久久精品影视| 国产精品久久久久精k8 | 欧美日韩激情在线| 欧美一区二区三区日韩视频| 欧美tickling网站挠脚心| 久久久久国产精品免费免费搜索| 中文成人综合网| 亚洲老司机在线| 蜜桃视频在线观看一区| 国产精品 日产精品 欧美精品| 色吊一区二区三区| 欧美色电影在线| 久久综合视频网| 亚洲免费色视频| 裸体一区二区三区| 国产精品99久久久久久宅男| 91麻豆精品在线观看| 欧美精品九九99久久| 久久久久青草大香线综合精品| 亚洲欧美一区二区三区极速播放 | 欧美精品一区二区三区在线 | 欧美日韩精品一二三区| 精品欧美黑人一区二区三区| 国产精品麻豆99久久久久久| 日韩高清不卡一区| 国产91精品欧美| 91精品啪在线观看国产60岁| 国产精品毛片无遮挡高清| 日本午夜一区二区|