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

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

?? pif.c

?? nucleas source code
?? C
?? 第 1 頁 / 共 2 頁
字號:
#endif

    /* Initialize the number of pointers returned.  */
    pointers =  0;

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

    /* Loop until all pipe pointers are in the list or until the maximum
       list size is reached.  */
    node_ptr =  PID_Created_Pipes_List;
    while ((node_ptr) && (pointers < maximum_pointers))
    {

        /* Place the node into the destination list.  */
        *pointer_list++ =  (NU_PIPE *) node_ptr;

        /* Increment the pointers variable.  */
        pointers++;

        /* Position the node pointer to the next node.  */
        node_ptr =  node_ptr -> cs_next;

        /* Determine if the pointer is at the head of the list.  */
        if (node_ptr == PID_Created_Pipes_List)

            /* The list search is complete.  */
            node_ptr =  NU_NULL;
    }

    /* Release protection against access to the list of created pipes.  */
    TCT_Unprotect();

    /* Return to user mode */
    NU_USER_MODE();

    /* Return the number of pointers in the list.  */
    return(pointers);
}


/*************************************************************************/
/*                                                                       */
/* FUNCTION                                                              */
/*                                                                       */
/*      PIF_Pipe_Information                                             */
/*                                                                       */
/* DESCRIPTION                                                           */
/*                                                                       */
/*      This function returns information about the specified pipe.      */
/*      However, if the supplied pipe pointer is invalid, the            */
/*      function simply returns an error status.                         */
/*                                                                       */
/* CALLED BY                                                             */
/*                                                                       */
/*      Application                                                      */
/*                                                                       */
/* CALLS                                                                 */
/*                                                                       */
/*      [TCT_Check_Stack]                   Stack checking function      */
/*      TCT_System_Protect                  Protect pipe                 */
/*      TCT_Unprotect                       Release protection           */
/*                                                                       */
/* INPUTS                                                                */
/*                                                                       */
/*      pipe_ptr                            Pointer to the pipe          */
/*      name                                Destination for the name     */
/*      start_address                       Destination for the start    */
/*                                            address of the pipe        */
/*      pipe_size                           Destination for pipe size    */
/*      available                           Destination for available    */
/*                                            room in pipe               */
/*      messages                            Destination for number of    */
/*                                            messages piped             */
/*      message_type                        Destination for message type */
/*      message_size                        Destination for message size */
/*      suspend_type                        Destination for suspension   */
/*                                            type                       */
/*      tasks_waiting                       Destination for the tasks    */
/*                                            waiting count              */
/*      first_task                          Destination for the pointer  */
/*                                            to the first task waiting  */
/*                                                                       */
/* OUTPUTS                                                               */
/*                                                                       */
/*      NU_SUCCESS                          If a valid pipe pointer      */
/*                                            is supplied                */
/*      NU_INVALID_PIPE                     If pipe pointer invalid      */
/*                                                                       */
/* HISTORY                                                               */
/*                                                                       */
/*        DATE                    REMARKS                                */
/*                                                                       */
/*      03-01-1993      Created initial version 1.0                      */
/*      04-19-1993      Verified version 1.0                             */
/*      03-01-1994      Modified function interface,                     */
/*                      resulting in version 1.1                         */
/*                                                                       */
/*      03-18-1994      Verified version 1.1                             */
/*      11-18-1996      Corrected SPR220                                 */
/*                                                                       */
/*************************************************************************/
STATUS  PIF_Pipe_Information(NU_PIPE *pipe_ptr, CHAR *name,
                  VOID **start_address, UNSIGNED *pipe_size,
                  UNSIGNED *available, UNSIGNED *messages,
                  OPTION *message_type, UNSIGNED *message_size,
                  OPTION *suspend_type, UNSIGNED *tasks_waiting,
                  NU_TASK **first_task)
{

PI_PCB         *pipe;                       /* Pipe control block ptr    */
INT             i;                          /* Working integer variable  */
STATUS          completion;                 /* Completion status         */
NU_SUPERV_USER_VARIABLES

    /* Switch to supervisor mode */
    NU_SUPERVISOR_MODE();

    /* Move input pipe pointer into internal pointer.  */
    pipe =  (PI_PCB *) pipe_ptr;


#ifdef  NU_ENABLE_STACK_CHECK

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

#endif

    /* Determine if this pipe id is valid.  */
    if ((pipe != NU_NULL) && (pipe -> pi_id == PI_PIPE_ID))
    {

        /* Setup protection of the pipe.  */
        TCT_System_Protect();

        /* The pipe pointer is valid.  Reflect this in the completion
           status and fill in the actual information.  */
        completion =  NU_SUCCESS;

        /* Copy the pipe's name.  */
        for (i = 0; i < NU_MAX_NAME; i++)
            *name++ =  pipe -> pi_name[i];

        /* Determine the suspension type.  */
        if (pipe -> pi_fifo_suspend)
            *suspend_type =  NU_FIFO;
        else
            *suspend_type =  NU_PRIORITY;

        /* Determine the message type.  */
        if (pipe -> pi_fixed_size)
            *message_type =  NU_FIXED_SIZE;
        else
            *message_type =  NU_VARIABLE_SIZE;

        /* Get various information about the pipe.  */
        *start_address =  (VOID *) pipe -> pi_start;
        *pipe_size =      pipe -> pi_pipe_size;
        *available =      pipe -> pi_available;
        *messages =       pipe -> pi_messages;
        *message_size =   pipe -> pi_message_size;

        /* Retrieve the number of tasks waiting and the pointer to the
           first task waiting.  */
        *tasks_waiting =  pipe -> pi_tasks_waiting;
        if (pipe -> pi_suspension_list)

            /* There is a task waiting.  */
            *first_task =  (NU_TASK *)
                (pipe -> pi_suspension_list) -> pi_suspended_task;
        else

            /* There are no tasks waiting.  */
            *first_task =  NU_NULL;

        /* Release protection of the pipe.  */
        TCT_Unprotect();
    }
    else

        /* Indicate that the pipe pointer is invalid.   */
        completion =  NU_INVALID_PIPE;

    /* Return to user mode */
    NU_USER_MODE();

    /* Return the appropriate completion status.  */
    return(completion);
}






?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产白丝网站精品污在线入口| 日本午夜精品一区二区三区电影| 亚洲成av人片在线观看| 狠狠久久亚洲欧美| 91欧美一区二区| 欧美成人午夜电影| 五月婷婷久久综合| 91丨porny丨户外露出| 欧美mv日韩mv亚洲| 亚洲影院在线观看| 成人性生交大片免费看视频在线| 91精品国产综合久久久久久| 1024国产精品| 国产一区二区在线电影| 91精品国产一区二区三区| 中文字幕一区三区| 国产盗摄视频一区二区三区| 日韩一区二区三| 午夜久久久影院| 色老头久久综合| 国产精品大尺度| 国产成人啪免费观看软件| 日韩欧美你懂的| 三级在线观看一区二区 | 国产精品视频一二三区| 久久99国产精品久久99| 欧美三级视频在线观看| 亚洲女人小视频在线观看| 成人精品在线视频观看| 国产日韩成人精品| 国产精品99久久久| 精品av久久707| 狠狠色丁香九九婷婷综合五月| 91精品麻豆日日躁夜夜躁| 天天av天天翘天天综合网 | 亚洲综合无码一区二区| 色哟哟国产精品免费观看| 亚洲私人影院在线观看| 99久久久久久| 亚洲免费电影在线| 色噜噜狠狠成人中文综合| 亚洲欧美国产三级| 欧美日韩一区在线观看| 亚洲无人区一区| 欧美一区日本一区韩国一区| 免费看欧美女人艹b| 国产午夜亚洲精品理论片色戒 | 91污在线观看| 自拍偷拍欧美激情| 欧美日韩一级视频| 免费成人美女在线观看.| 久久综合久久综合九色| 成人在线视频一区二区| 亚洲人成7777| 欧美欧美欧美欧美首页| 久久精品99国产精品| 久久久久久久av麻豆果冻| 不卡视频在线观看| 亚洲国产日韩av| 久久亚洲一区二区三区明星换脸| 成人国产一区二区三区精品| 亚洲一区二区三区四区五区黄 | 欧洲国内综合视频| 免费在线视频一区| 国产亚洲欧美激情| 一本高清dvd不卡在线观看 | 日韩精品专区在线| 国产精品538一区二区在线| 亚洲女人的天堂| 日韩美女视频在线| 99re亚洲国产精品| 青青青爽久久午夜综合久久午夜| 久久综合资源网| 欧美亚洲国产一区在线观看网站| 麻豆国产精品一区二区三区| 亚洲欧洲国产日本综合| 欧美一区二区三区成人| 床上的激情91.| 蜜臂av日日欢夜夜爽一区| 国产精品久久久久四虎| 日韩午夜激情视频| 欧美女孩性生活视频| 久久精品噜噜噜成人av农村| 亚洲欧美激情小说另类| 亚洲精品一区在线观看| 欧美性受xxxx| 国产成人免费网站| 日本va欧美va精品| 亚洲精品视频在线| 国产女人18水真多18精品一级做| 欧美精品自拍偷拍| 色网站国产精品| 成人免费视频国产在线观看| 久草在线在线精品观看| 亚洲va国产va欧美va观看| 中文字幕一区二区三区蜜月| 久久综合久久综合久久综合| 69久久99精品久久久久婷婷| 欧美最猛性xxxxx直播| 国产精品夜夜爽| 精品中文av资源站在线观看| 性欧美疯狂xxxxbbbb| 亚洲精品一卡二卡| 亚洲国产激情av| 久久美女高清视频| 日韩欧美一区二区不卡| 欧美日韩一二三区| 欧美性大战久久| 欧美唯美清纯偷拍| 91福利在线导航| 91久久一区二区| 色久综合一二码| 91在线一区二区| 成人精品国产一区二区4080 | 日本在线不卡视频一二三区| 亚洲小说春色综合另类电影| 一区二区三区在线观看国产| 日韩久久一区二区| 亚洲天堂久久久久久久| 成人免费在线播放视频| 日韩一区日韩二区| 亚洲天堂久久久久久久| 亚洲精品福利视频网站| 一区二区三区精品久久久| 亚洲一区免费在线观看| 亚洲午夜影视影院在线观看| 视频一区在线播放| 奇米精品一区二区三区在线观看一| 日韩vs国产vs欧美| 国产在线精品免费| 成人黄色小视频| 色视频欧美一区二区三区| 91成人免费电影| 欧美一区二区三区小说| 国产精品少妇自拍| 中文字幕亚洲视频| 亚洲高清在线精品| 久久99精品久久久久久| 懂色av一区二区三区蜜臀| 一本色道久久综合亚洲aⅴ蜜桃| 色999日韩国产欧美一区二区| 欧美福利一区二区| 精品国产乱码久久久久久1区2区 | 亚洲九九爱视频| 视频一区二区三区在线| 国产精品18久久久久| 一本久久a久久精品亚洲| 欧美日韩精品三区| 久久久www成人免费无遮挡大片| 国产精品久久二区二区| 午夜一区二区三区在线观看| 久久99国产精品久久| av激情综合网| 欧美一区二区精品| 18涩涩午夜精品.www| 日韩综合小视频| 成人污污视频在线观看| 欧美日本一区二区三区四区| 国产无遮挡一区二区三区毛片日本| |精品福利一区二区三区| 偷窥少妇高潮呻吟av久久免费| 国产麻豆精品久久一二三| 一本久久综合亚洲鲁鲁五月天 | 欧美一区二区三区免费在线看| 国产精品热久久久久夜色精品三区 | 99精品久久免费看蜜臀剧情介绍| 欧美性受xxxx黑人xyx| 国产肉丝袜一区二区| 午夜精品福利视频网站| 成人午夜私人影院| 欧美v亚洲v综合ⅴ国产v| 青青草一区二区三区| 97精品国产97久久久久久久久久久久| 91精品国产色综合久久久蜜香臀| 国产清纯美女被跳蛋高潮一区二区久久w| 亚洲午夜影视影院在线观看| 国产成人啪免费观看软件| 欧美一区二区三区精品| 亚洲午夜久久久| 成人激情开心网| 久久婷婷国产综合精品青草| 青青青爽久久午夜综合久久午夜 | 欧美一区二区三区四区在线观看 | 激情五月播播久久久精品| 精品视频123区在线观看| 亚洲欧美在线高清| 粉嫩在线一区二区三区视频| 欧美精品一区二区三区蜜桃| 人人爽香蕉精品| 欧美日韩一区高清| 中文字幕亚洲区| 国产乱码精品一区二区三区五月婷 | 久久嫩草精品久久久久| 久久成人av少妇免费| 欧美福利视频导航| 香蕉久久夜色精品国产使用方法 | 国产精品私房写真福利视频| 麻豆国产一区二区| 欧美一区二区三区视频免费播放| 五月天一区二区三区|