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

蟲蟲首頁| 資源下載| 資源專輯| 精品軟件
登錄| 注冊

Queue

隊列是一種特殊的線性表,是一種先進先出(FIFO)的數(shù)據(jù)結(jié)構(gòu)。它只允許在表的前端(front)進行刪除操作,而在表的后端(rear)進行插入操作。進行插入操作的端稱為隊尾,進行刪除操作的端稱為隊頭。隊列中沒有元素時,稱為空隊列。
  • I use C to implement thread operating,include initiallize,fork,yield,exit,kill. You should have driv

    I use C to implement thread operating,include initiallize,fork,yield,exit,kill. You should have driver to use this library. I choose array for ready Queue,and strcut for Thread Control Block.

    標簽: initiallize implement operating include

    上傳時間: 2016-01-26

    上傳用戶:xc216

  • map identification laquo yuan Problem description : the digital image processing of an image often e

    map identification laquo yuan Problem description : the digital image processing of an image often expressed as a macute M pixel matrix. Each pixel value is 0 or 1. The value of 0 pixel image, said background, and the value of a pixel image, said a map of a million, usually called map million pixels. When a pixel in another pixels above, below, left or right, said that two adjacent pixels of the pixel. An image of the pixels belonging to the same map yuan, instead of adjacent pixels belonging to different map yuan. Figure yuan identification of problems is right for the given image pixel map marking yuan, making the same map billion yuan pixel map of the same markings and different map billion yuan pixel map of their marks are different. Trial Queue abstract data type design solut

    標簽: image identification description processing

    上傳時間: 2013-12-15

    上傳用戶:15736969615

  • μC/OS從1992年開始為人們熟悉

    μC/OS從1992年開始為人們熟悉,到現(xiàn)在已經(jīng)發(fā)展為μC/OS-II。ΜC/OS-II最多支持56個任務(wù),其內(nèi)核為占先式,總是執(zhí)行就緒態(tài)的優(yōu)先級最高的任務(wù),并支持Semaphore(信號量)、Mailbox(郵箱)、Message Queue(消息隊列)等多種常用的進程間通信機制。與大多商用RTOS不同的是,μC/OS-II公開所有的源代碼,并可以免費獲得,對商業(yè)應(yīng)用收取少量License費用。

    標簽: 1992 OS

    上傳時間: 2016-03-11

    上傳用戶:希醬大魔王

  • 定時中斷程序

    定時中斷程序,源碼的注釋十分詳細,具體功能如下: 1.Frame 實現(xiàn)能有效降低VxWorks 內(nèi)存管理內(nèi)部/外部碎片的機制。 2. Frame 實現(xiàn)為系統(tǒng)提供軟定時器功能的機制,定時器timeout 信息以message 或其他快捷有效方式通知定時器申請者(Task)。 3. 參考實驗一要求,系統(tǒng)中每個Task 擁有自己的Message Queue,以此方式作為系統(tǒng)的消息驅(qū)動基礎(chǔ)。 4. 系統(tǒng)中各Task 應(yīng)使用同一類型框架,即統(tǒng)一的Task 框架。 5. 系統(tǒng)內(nèi)實體(Task/ISR)間傳遞的消息應(yīng)有統(tǒng)一格式(消息頭+消息體),可分短消息和長消息,但消息頭須至少包含消息ID。系統(tǒng)內(nèi)所有消息均有其唯一ID 標識。

    標簽: 定時中斷 程序

    上傳時間: 2016-04-02

    上傳用戶:BOBOniu

  • 練習并掌握多任務(wù)實時操作系統(tǒng)下Task 調(diào)度、Task 間主要通信手段(信號量、消息隊列等)、RISC 處理器 I/O 端口控制等內(nèi)容

    練習并掌握多任務(wù)實時操作系統(tǒng)下Task 調(diào)度、Task 間主要通信手段(信號量、消息隊列等)、RISC 處理器 I/O 端口控制等內(nèi)容,并形成嵌入式實時應(yīng)用軟件的良好編程習慣。創(chuàng)建多Task,為每個Task 創(chuàng)建私有的Message Queue,每個Task 只通過自己的私有Message Queue 接收消息;Task 間消息通信通過向?qū)Ψ剿接蠱essageQueue 發(fā)送消息完成。 Task1:管理Task。負責系統(tǒng)啟動時同步系統(tǒng)中其他Task 的啟動同步,利用信號量的semFlush()完成。同時接收各Task 的告警信息,告警信息需編號以logmsg 方式輸出。本task 負責系統(tǒng)結(jié)束時的Task 刪除處理。 Task2:console 命令行接收Task。接收并分析console 發(fā)來的命令行及參數(shù)。自行設(shè)置5 種以上命令,并根據(jù)命令的內(nèi)容向Task3 或/及Task4 發(fā)送激勵消息。同時實現(xiàn)系統(tǒng)退出命令,使系統(tǒng)采用適當方式安全退出。收到非法命令向Task1告警。 Task3:Led 控制Task。接收Led 控制消息(命令),自定義Led 顯示方式表現(xiàn)命令執(zhí)行情況。本task 應(yīng)負責led 相關(guān)I/O port 初始化。收到非法led 控制命令向Task1 告警。 Task4:console 輸出Task。接收需打印輸出的字串消息(命令),輸出到console。收到長度為0 或超常字串向Task1 告警。

    標簽: Task RISC 多任務(wù) 信號量

    上傳時間: 2016-04-12

    上傳用戶:iswlkje

  • C++STL STL(Standard Template Library

    C++STL STL(Standard Template Library,標準模板庫)是惠普實驗室開發(fā)的一系列軟件的統(tǒng)稱。它是由Alexander Stepanov、Meng Lee和David R Musser在惠普實驗室工作時所開發(fā)出來的。現(xiàn)在雖說它主要出現(xiàn)在C++中,但在被引入C++之前該技術(shù)就已經(jīng)存在了很長的一段時間。 STL的代碼從廣義上講分為三類:algorithm(算法)、container(容器)和iterator(迭代器),幾乎所有的代碼都采用了模板類和模版函數(shù)的方式,這相比于傳統(tǒng)的由函數(shù)和類組成的庫來說提供了更好的代碼重用機會。在C++標準中,STL被組織為下面的13個頭文件:<algorithm>、<deque>、<functional>、<iterator>、<vector>、<list>、<map>、<memory>、<numeric>、<Queue>、<set>、<stack>和<utility>。以下筆者就簡單介紹一下STL各個部分的主要特點。

    標簽: STL Standard Template Library

    上傳時間: 2016-06-20

    上傳用戶:cylnpy

  • 文件及文件夾說明 ==========================================================================================

    文件及文件夾說明 =============================================================================================== \arm\ uC/OS-II移植代碼 \SOURCE\ uC/OS-II源碼保存在該文件夾 \HostMassLib\ HostMassLib驅(qū)動庫相關(guān)文件存放的文件夾 \HostMassLib\讀寫U盤模塊驅(qū)動使用手冊.pdf 驅(qū)動庫使用手冊 \UDiskDemo\ 讀寫U盤驅(qū)動演示工程保存的文件夾 \UDiskDemo\Queue UART0驅(qū)動使用到的隊列文件 \UDiskDemo\uart0 UART0驅(qū)動源文件 \UDiskDemo\HostMassLib HostMassLib驅(qū)動庫相關(guān)文件存放的文件夾 \UDiskDemo\src\ 工程模板創(chuàng)建文件 \UDiskDemo\src\main.c 工程主文件,main函數(shù)及各任務(wù)在該文件中創(chuàng)建及初始化 \UDiskDemo\src\OS_CFG.H uC/OS-II配置文件 \UDiskDemo\src\config.h 本工程配置文件 \UDiskDemo\src\target.c 目標文件,目標系統(tǒng)初始化在該文件中處理 \UDiskDemo\src\Startup.s LPC2200起動文件 \UDiskDemo\src\IRQ.s 中斷句柄設(shè)置文件

    標簽:

    上傳時間: 2017-01-03

    上傳用戶:chenlong

  • 迷宮問題

    迷宮問題,分別用深度和廣度優(yōu)先遍歷解決。其中stack用鏈表實現(xiàn),Queue用數(shù)組實現(xiàn)。描述見pdf文件。

    標簽: 迷宮

    上傳時間: 2017-01-22

    上傳用戶:hakim

  • Learn how to: * Tokenize a null-terminated string * Create a search and re

    Learn how to: * Tokenize a null-terminated string * Create a search and replace function for strings * Implement subtraction for string objects * Use the vector, deque, and list sequence containers * Use the container adaptors stack, Queue, and priority_Queue * Use the map, multimap, set, and multiset associative containers * Reverse, rotate, and shuffle a sequence * Create a function object * Use binders, negators, and iterator adapters * Read and write files * Use stream iterators to handle file I/O * Use exceptions to handle I/O errors * Create custom inserters and extractors * Format date, time, and numeric data * Use facets and the localization library * Overload the [ ], ( ), and -> operators * Create an explicit constructor * And much, much more

    標簽: null-terminated Tokenize Create string

    上傳時間: 2014-01-18

    上傳用戶:yph853211

  • This is a Switch simulation... with 4 types of switches... and also we have average simulation tim

    This is a Switch simulation... with 4 types of switches... and also we have average simulation time over these 4 switches 1. No Queue 2. Input Queue 3. Input Queue with iterative 4. Output Queue

    標簽: simulation switches average Switch

    上傳時間: 2017-05-20

    上傳用戶:徐孺

主站蜘蛛池模板: 福泉市| 新建县| 禄丰县| 揭西县| 睢宁县| 元氏县| 北碚区| 扎鲁特旗| 福建省| 丽水市| 古浪县| 城口县| 乌鲁木齐县| 平乡县| 宝鸡市| 桃园县| 吴川市| 开封市| 台中市| 喀喇沁旗| 梁河县| 南京市| 临湘市| 乌拉特前旗| 大同市| 龙里县| 龙山县| 鱼台县| 美姑县| 镇原县| 福贡县| 昌都县| 商水县| 奉贤区| 镇康县| 孟津县| 兴业县| 武强县| 高碑店市| 大渡口区| 晋中市|