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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? quf.c

?? NucleusPLUS嵌入式操作系統(tǒng)是目前最受歡迎的操作系統(tǒng)NucleusPLUS是為實時嵌入式應(yīng)用而設(shè)計的一個搶先式多任務(wù)操作系統(tǒng)內(nèi)核
?? C
?? 第 1 頁 / 共 2 頁
字號:
#endif

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

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

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

        /* Place the node into the destination list.  */
        *pointer_list++ =  (NU_QUEUE *) 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 == QUD_Created_Queues_List)

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

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

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

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


/*************************************************************************/
/*                                                                       */
/* FUNCTION                                                              */
/*                                                                       */
/*      QUF_Queue_Information                                            */
/*                                                                       */
/* DESCRIPTION                                                           */
/*                                                                       */
/*      This function returns information about the specified queue.     */
/*      However, if the supplied queue pointer is invalid, the           */
/*      function simply returns an error status.                         */
/*                                                                       */
/* CALLED BY                                                             */
/*                                                                       */
/*      Application                                                      */
/*                                                                       */
/* CALLS                                                                 */
/*                                                                       */
/*      [TCT_Check_Stack]                   Stack checking function      */
/*      TCT_System_Protect                  Protect queue                */
/*      TCT_Unprotect                       Release protection           */
/*                                                                       */
/* INPUTS                                                                */
/*                                                                       */
/*      queue_ptr                           Pointer to the queue         */
/*      name                                Destination for the name     */
/*      start_address                       Destination for the start    */
/*                                            address of the queue       */
/*      queue_size                          Destination for queue size   */
/*      available                           Destination for available    */
/*                                            room in queue              */
/*      messages                            Destination for number of    */
/*                                            messages queued            */
/*      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 queue pointer     */
/*                                            is supplied                */
/*      NU_INVALID_QUEUE                    If queue 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,                     */
/*                      changed protection logic,                        */
/*                      resulting in version 1.1                         */
/*                                                                       */
/*      03-18-1994      Verified version 1.1                             */
/*      11-18-1996      Corrected SPR220.                                */
/*                                                                       */
/*************************************************************************/
STATUS  QUF_Queue_Information(NU_QUEUE *queue_ptr, CHAR *name,
                  VOID **start_address, UNSIGNED *queue_size,
                  UNSIGNED *available, UNSIGNED *messages,
                  OPTION *message_type, UNSIGNED *message_size,
                  OPTION *suspend_type, UNSIGNED *tasks_waiting,
                  NU_TASK **first_task)
{

QU_QCB         *queue;                      /* Queue 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 queue pointer into internal pointer.  */
    queue =  (QU_QCB *) queue_ptr;


#ifdef  NU_ENABLE_STACK_CHECK

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

#endif

    /* Determine if this queue id is valid.  */
    if ((queue != NU_NULL) && (queue -> qu_id == QU_QUEUE_ID))
    {

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

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

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

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

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

        /* Get various information about the queue.  */
        *start_address =  (UNSIGNED *) queue -> qu_start;
        *queue_size =     queue -> qu_queue_size;
        *available =      queue -> qu_available;
        *messages =       queue -> qu_messages;
        *message_size =   queue -> qu_message_size;

        /* Retrieve the number of tasks waiting and the pointer to the
           first task waiting.  */
        *tasks_waiting =  queue -> qu_tasks_waiting;
        if (queue -> qu_suspension_list)

            /* There is a task waiting.  */
            *first_task =  (NU_TASK *)
                (queue -> qu_suspension_list) -> qu_suspended_task;
        else

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

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

        /* Indicate that the queue pointer is invalid.   */
        completion =  NU_INVALID_QUEUE;

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

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




?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
午夜精品久久久久久久久| 欧美一区二区三区白人| 亚洲国产精品成人综合| 国产一区二区91| 国产精品久久久久久亚洲伦| fc2成人免费人成在线观看播放| 国产精品久久看| 日本乱人伦aⅴ精品| 天天综合网 天天综合色| 欧美精品视频www在线观看| 免费成人在线视频观看| 久久精品在这里| 91麻豆免费观看| 亚洲mv大片欧洲mv大片精品| 日韩西西人体444www| 国产精品中文有码| 椎名由奈av一区二区三区| 精品视频123区在线观看| 免费三级欧美电影| 久久久久国产成人精品亚洲午夜| 不卡的av电影在线观看| 一区二区成人在线视频| 日韩久久精品一区| 99精品久久免费看蜜臀剧情介绍| 亚洲动漫第一页| 久久综合久久鬼色中文字| 一本大道久久a久久精二百| 人人爽香蕉精品| 成人欧美一区二区三区1314| 69久久夜色精品国产69蝌蚪网| 国产精品乡下勾搭老头1| 亚洲综合男人的天堂| 日韩限制级电影在线观看| 99国产精品久久久久| 日本不卡中文字幕| 午夜不卡av在线| 国产精品日韩成人| 91精品国产色综合久久久蜜香臀| 国产91丝袜在线播放0| 日韩福利电影在线观看| 国产精品九色蝌蚪自拍| 91麻豆精品国产自产在线观看一区| 春色校园综合激情亚洲| 蜜桃av一区二区| 一区二区欧美国产| 亚洲国产岛国毛片在线| 日韩欧美www| 精品视频在线免费看| 国产1区2区3区精品美女| 爽好久久久欧美精品| 亚洲婷婷在线视频| 精品久久免费看| 欧美一区二区三区四区久久| 91久久国产最好的精华液| 国产精品一品二品| 蜜桃一区二区三区四区| 亚洲一区精品在线| 日韩美女精品在线| 国产欧美日本一区二区三区| 日韩午夜激情免费电影| 精品视频一区 二区 三区| 99精品视频在线播放观看| 懂色av一区二区三区免费观看| 精品一二三四在线| 日韩国产欧美一区二区三区| 亚洲国产欧美日韩另类综合| 亚洲丝袜另类动漫二区| 国产精品丝袜91| 中文字幕国产一区| 国产三级三级三级精品8ⅰ区| 精品国产污污免费网站入口| 欧美一区二区视频网站| 欧美日韩成人在线一区| 欧美色精品在线视频| 欧美在线免费播放| 在线观看亚洲一区| 精品视频一区 二区 三区| 欧美天堂亚洲电影院在线播放| 91极品美女在线| 欧美优质美女网站| 欧美日韩国产123区| 欧美美女bb生活片| 日韩欧美国产精品| 久久精品在这里| 国产精品午夜春色av| 国产精品高潮呻吟| 亚洲少妇最新在线视频| 亚洲精品久久嫩草网站秘色| 亚洲成人先锋电影| 日韩高清电影一区| 国内国产精品久久| 成人av电影在线| 色综合中文字幕国产 | 欧美一区二区在线视频| 777亚洲妇女| 亚洲国产三级在线| 亚洲精品久久嫩草网站秘色| 亚洲成av人片在线| 日本不卡高清视频| 国产黄色91视频| 成人免费观看视频| 欧美日韩在线免费视频| 欧美一区二区三区免费视频| www激情久久| 中文字幕一区二区在线播放| 亚洲一区二区免费视频| 日日欢夜夜爽一区| 国产成人综合在线播放| 一本大道久久a久久综合婷婷 | 亚洲一级电影视频| 男男视频亚洲欧美| 丁香六月综合激情| 欧美日韩在线播放三区四区| 日韩精品一区二区三区四区视频| 国产网红主播福利一区二区| 亚洲女人的天堂| 蜜臀久久99精品久久久久宅男 | 国产一区二区伦理| 99re热这里只有精品视频| 欧美日韩国产高清一区二区 | 亚洲影院理伦片| 久久福利资源站| 色综合色综合色综合 | 蜜臀久久99精品久久久画质超高清 | 久久亚洲影视婷婷| 一区二区三区四区不卡在线 | 日本中文字幕不卡| 处破女av一区二区| 69堂亚洲精品首页| 亚洲欧美日韩中文播放| 久久精品国产成人一区二区三区| 国产91精品一区二区麻豆亚洲| 欧美日韩精品三区| 亚洲欧洲精品成人久久奇米网| 日本欧美大码aⅴ在线播放| 91麻豆视频网站| 国产日产欧产精品推荐色| 亚洲第一电影网| 99riav久久精品riav| 久久一区二区三区国产精品| 亚洲国产wwwccc36天堂| 99久久亚洲一区二区三区青草| 日韩无一区二区| 亚洲国产成人tv| 一本色道a无线码一区v| 国产人妖乱国产精品人妖| 美女视频一区在线观看| 欧美日韩一区二区三区免费看 | 国产精品久久久久久久岛一牛影视| 日本一区中文字幕| 欧美在线你懂得| 亚洲免费视频中文字幕| 福利一区二区在线| 精品国产亚洲在线| 美女任你摸久久 | 岛国精品在线观看| 久久综合网色—综合色88| www.色精品| 欧美高清在线一区| 国产精品一线二线三线| 日韩精品资源二区在线| 免费在线观看日韩欧美| 91麻豆精品国产91久久久久久| 亚洲第一会所有码转帖| 精品视频在线看| 亚洲午夜日本在线观看| 欧美亚洲综合久久| 亚洲自拍偷拍av| 欧美午夜视频网站| 夜夜精品浪潮av一区二区三区| 色网站国产精品| 亚洲免费高清视频在线| 色婷婷久久综合| 亚洲综合在线观看视频| 欧美色男人天堂| 日本成人中文字幕在线视频| 日韩欧美国产wwwww| 蜜臀av一区二区在线观看| 日韩欧美一级特黄在线播放| 久久精品国产一区二区| 久久伊人中文字幕| 成人午夜碰碰视频| 亚洲三级电影网站| 精品视频999| 另类小说综合欧美亚洲| 国产亚洲欧洲997久久综合| 成人午夜大片免费观看| 亚洲乱码国产乱码精品精98午夜 | 国产精品69久久久久水密桃| 久久蜜臀精品av| 成人av小说网| 亚洲午夜日本在线观看| 91麻豆精品国产无毒不卡在线观看| 美女视频黄频大全不卡视频在线播放| 日韩欧美不卡在线观看视频| 成人一道本在线| 亚洲一区二区三区四区在线观看 | 欧美大肚乱孕交hd孕妇| 国产成人精品亚洲午夜麻豆| 国产精品久久久久aaaa|