怎樣使用Nios II處理器來構(gòu)建多處理器系統(tǒng) Chapter 1. Creating Multiprocessor Nios II Systems Introduction to Nios II Multiprocessor Systems . . . . . . . . . . . . . . 1–1 Benefits of Hierarchical Multiprocessor Systems . . . . . . . . . . . . . . . 1–2 Nios II Multiprocessor Systems . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2 Multiprocessor Tutorial Prerequisites . . . . . . . . . . . . . . . . . . . . . . . 1–3 Hardware Designs for Peripheral Sharing . . . . . . . . . . . .. . . . . . . . 1–3 Autonomous Multiprocessors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–3 Multiprocessors that Share Peripherals . . . . . . . . . . . . . . . . . . . . . . 1–4 Sharing Peripherals in a Multiprocessor System . . . . . . . . . . . . . . . . . 1–4 Sharing Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–6 The Hardware MUTEX Core . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–7 Sharing Peripherals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . 1–8 Overlapping Address Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–8 Software Design Considerations for Multiple Processors . . .. . . . . 1–9 Program Memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–9 Boot Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. 1–13 Debugging Nios II Multiprocessor Designs . . . . . . . . . . . . . . . . 1–15 Design Example: The Dining Philosophers’ Problem . . . . .. . . 1–15 Hardware and Software Requirements . . . . . . . . . . . . . . . .. . . 1–16 Installation Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–17 Creating the Hardware System . . . . . . . . . . . . . . .. . . . . . 1–17 Getting Started with the multiprocessor_tutorial_start Design Example 1–17 Viewing a Philosopher System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–18 Philosopher System Pipeline Bridges . . . . . . . . . . . . . . . . . . . . . 1–19 Adding Philosopher Subsystems . . . . . . . . . . . . . . . . . . . . . . . . . . 1–21 Connecting the Philosopher Subsystems . . . . . . . . . . . . .. . . . . 1–22 Viewing the Complete System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–27 Generating and Compiling the System . . . . . . . . . . . . . . . . . .. 1–28
上傳時(shí)間: 2013-11-21
上傳用戶:lo25643
浙江大學(xué)計(jì)算機(jī)學(xué)院制作的操作系統(tǒng)教學(xué)Flash動(dòng)畫,對(duì)于理解操作系統(tǒng)中TLB fork MUTEX 頁面分配 銀行家算法 等疑難問題有很大幫助。
標(biāo)簽: Flash 大學(xué) 動(dòng)畫 計(jì)算機(jī)
上傳時(shí)間: 2015-06-06
上傳用戶:fnhhs
Visual.C++程序設(shè)計(jì)技巧與實(shí)例--配套光盤 第4章 進(jìn)程和線程 本章共有8個(gè)實(shí)例: 1. Process創(chuàng)建和終止進(jìn)程 2. WorkerThread創(chuàng)建工作者線程 3. UIThread用戶界面線程示例 4. Event使用事件對(duì)象來實(shí)現(xiàn)線程的同步 5. Thread使用臨界區(qū)對(duì)象來實(shí)現(xiàn)線程的同步 6. MUTEX使用互斥量對(duì)象來實(shí)現(xiàn)不同進(jìn)程間的線程同步 7. Semaphore使用信號(hào)量對(duì)象實(shí)現(xiàn)線程的同步 8. MutiThread多線程任務(wù)調(diào)度與處理
標(biāo)簽: WorkerThread Process Visual UIThr
上傳時(shí)間: 2014-11-17
上傳用戶:yyyyyyyyyy
VC++進(jìn)程線程實(shí)例:EVENT,MUTEX,MUTITHREAD,PROCESS,SEMAPHORE,THREAD,UITHREAD,WORKERTHREAD
上傳時(shí)間: 2013-12-10
上傳用戶:chongcongying
同事寫的一個(gè)內(nèi)核,占先式調(diào)度,支持簡(jiǎn)單的signal和MUTEX。很小的,根據(jù)需要,代碼在0.5k-1k.
標(biāo)簽: 內(nèi)核
上傳時(shí)間: 2014-01-16
上傳用戶:xymbian
sourceforge歷史版本完整下載: http://sourceforge.net/project/showfiles.php?group_id=202044 提供了基于b樹索引算法的文件數(shù)據(jù)數(shù)據(jù)庫模塊詳見storage/目錄下面的 btree.c與pager.c container目錄為常用的容器實(shí)現(xiàn),如果rbtree avltree map heap list vector hashtable deque T樹 B樹, test目錄為測(cè)試程序代碼經(jīng)過初步測(cè)試,比較穩(wěn)定。 os_api:裝一些操作系統(tǒng)相關(guān)的接口函數(shù)。已完成event MUTEX sem thread pipe相關(guān)的封裝 advance_container:提供優(yōu)先級(jí)消息隊(duì)列,普通消息隊(duì)列,定時(shí)器容器。 frame:目前提供了listerner(linux下版本,模仿ace的反應(yīng)器)定時(shí)器 algorithm:補(bǔ)充了堆排序 與快速排序 所有代碼均已在windows linux與uclinux + arm44b0平臺(tái)下測(cè)試 歡迎交流 msn:lsccsl@163.net mail:lsccsl@tom.com
標(biāo)簽: sourceforge showfiles group_id project
上傳時(shí)間: 2016-07-16
上傳用戶:lili123
用多線程同步方法解決讀者閱覽問題 1) 每個(gè)讀者進(jìn)入閱覽室后,即時(shí)顯示“Entered” 及其線程自定義標(biāo)識(shí),還同時(shí)顯示閱覽室共有幾名顧客及其所坐的位置。 2) 至少有10個(gè)讀者,每人閱覽至少3秒鐘。 3) 多個(gè)讀者須共享操作函數(shù)代碼。 2總的設(shè)計(jì)思想及系統(tǒng)平臺(tái)、語言、工具: 設(shè)計(jì)思想:程序設(shè)定的是10個(gè)讀者和5個(gè)座位,對(duì)讀者進(jìn)行編號(hào),依次進(jìn)入閱覽室讀書,為每一座位列一表目,包括座號(hào)和讀者號(hào)等,讀者離開時(shí)要登出,即消掉登記的信息。 系統(tǒng)平臺(tái):LINUX 語言:C語言 工具:vi編輯器、gcc編譯器 操作系統(tǒng):linux操作系統(tǒng) 調(diào)試工具:edit、masm、link、debug. 3數(shù)據(jù)結(jié)構(gòu)與模塊說明(功能與流程圖) 數(shù)據(jù)結(jié)構(gòu) int count=0 //記錄閱覽室讀者數(shù)量 sem_t full //定義閱覽室座位信號(hào)量 int seat[5] //用數(shù)組表示座位 pthread_t reader[10] //定義讀者線程 pthread_MUTEX_t MUTEX //定義互斥量 3.2功能說明 可以標(biāo)識(shí)讀者,隨機(jī)為讀者設(shè)置在閱覽室的讀書時(shí)間 可以顯示閱覽室讀者的人數(shù) 可以顯示讀者所坐的位置,座位狀態(tài)以及列出空座位
標(biāo)簽: 多線程同步
上傳時(shí)間: 2016-08-10
上傳用戶:zsjzc
包含 等待函數(shù)WaitForSingleObject 多線程同步之 Event (事件對(duì)象) 多線程同步之 MUTEX (互斥對(duì)象) 多線程同步之 Semaphore (信號(hào)對(duì)象) 多線程同步之 WaitableTimer (等待定時(shí)器對(duì)象) 等等
標(biāo)簽: Delphi多線程編程
上傳時(shí)間: 2016-02-22
上傳用戶:西西王阿
蟲蟲下載站版權(quán)所有 京ICP備2021023401號(hào)-1