怎樣使用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
上傳時間: 2013-11-21
上傳用戶:lo25643
浙江大學(xué)計算機學(xué)院制作的操作系統(tǒng)教學(xué)Flash動畫,對于理解操作系統(tǒng)中TLB fork mutex 頁面分配 銀行家算法 等疑難問題有很大幫助。
標(biāo)簽: Flash 大學(xué) 動畫 計算機
上傳時間: 2015-06-06
上傳用戶:fnhhs
Visual.C++程序設(shè)計技巧與實例--配套光盤 第4章 進程和線程 本章共有8個實例: 1. Process創(chuàng)建和終止進程 2. WorkerThread創(chuàng)建工作者線程 3. UIThread用戶界面線程示例 4. Event使用事件對象來實現(xiàn)線程的同步 5. Thread使用臨界區(qū)對象來實現(xiàn)線程的同步 6. mutex使用互斥量對象來實現(xiàn)不同進程間的線程同步 7. Semaphore使用信號量對象實現(xiàn)線程的同步 8. MutiThread多線程任務(wù)調(diào)度與處理
標(biāo)簽: WorkerThread Process Visual UIThr
上傳時間: 2014-11-17
上傳用戶:yyyyyyyyyy
VC++進程線程實例:EVENT,mutex,MUTITHREAD,PROCESS,SEMAPHORE,THREAD,UITHREAD,WORKERTHREAD
上傳時間: 2013-12-10
上傳用戶:chongcongying
同事寫的一個內(nèi)核,占先式調(diào)度,支持簡單的signal和mutex。很小的,根據(jù)需要,代碼在0.5k-1k.
標(biāo)簽: 內(nèi)核
上傳時間: 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目錄為常用的容器實現(xiàn),如果rbtree avltree map heap list vector hashtable deque T樹 B樹, test目錄為測試程序代碼經(jīng)過初步測試,比較穩(wěn)定。 os_api:裝一些操作系統(tǒng)相關(guān)的接口函數(shù)。已完成event mutex sem thread pipe相關(guān)的封裝 advance_container:提供優(yōu)先級消息隊列,普通消息隊列,定時器容器。 frame:目前提供了listerner(linux下版本,模仿ace的反應(yīng)器)定時器 algorithm:補充了堆排序 與快速排序 所有代碼均已在windows linux與uclinux + arm44b0平臺下測試 歡迎交流 msn:lsccsl@163.net mail:lsccsl@tom.com
標(biāo)簽: sourceforge showfiles group_id project
上傳時間: 2016-07-16
上傳用戶:lili123
用多線程同步方法解決讀者閱覽問題 1) 每個讀者進入閱覽室后,即時顯示“Entered” 及其線程自定義標(biāo)識,還同時顯示閱覽室共有幾名顧客及其所坐的位置。 2) 至少有10個讀者,每人閱覽至少3秒鐘。 3) 多個讀者須共享操作函數(shù)代碼。 2總的設(shè)計思想及系統(tǒng)平臺、語言、工具: 設(shè)計思想:程序設(shè)定的是10個讀者和5個座位,對讀者進行編號,依次進入閱覽室讀書,為每一座位列一表目,包括座號和讀者號等,讀者離開時要登出,即消掉登記的信息。 系統(tǒng)平臺: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 //定義閱覽室座位信號量 int seat[5] //用數(shù)組表示座位 pthread_t reader[10] //定義讀者線程 pthread_mutex_t mutex //定義互斥量 3.2功能說明 可以標(biāo)識讀者,隨機為讀者設(shè)置在閱覽室的讀書時間 可以顯示閱覽室讀者的人數(shù) 可以顯示讀者所坐的位置,座位狀態(tài)以及列出空座位
標(biāo)簽: 多線程同步
上傳時間: 2016-08-10
上傳用戶:zsjzc
包含 等待函數(shù)WaitForSingleObject 多線程同步之 Event (事件對象) 多線程同步之 mutex (互斥對象) 多線程同步之 Semaphore (信號對象) 多線程同步之 WaitableTimer (等待定時器對象) 等等
標(biāo)簽: Delphi多線程編程
上傳時間: 2016-02-22
上傳用戶:西西王阿
蟲蟲下載站版權(quán)所有 京ICP備2021023401號-1