管線,是現代計算機處理器中必不可少的部分,是指計算機指令處理過程拆分為多個步驟,將多個指令的執行動作重疊,以達到加速程式執行之目的,並通過多個硬體處理單元並行執行來加快指令執行速度。
2014年4月5日 星期六
Multithreading v.s. Multitasking v.s. Timesharing
程式具有多工(Multitasking) 及多重處理(Multiprocessing)的能力
什麼是執行緒 ?
n 支援多重處理的執行控制機制,它可以執行程式中任何一組相關且可與程式中其它部分多重並行處理的程式片斷。
2014年4月4日 星期五
2014年4月3日 星期四
CISC v.s. RISC
Introduction
處理器的指令集可分為CISC(Complex Instruction Set Computer)和RISC(Reduced Instruction Set Computer),在現代的處理器指令集設計中,兩者均有廣泛的應用,本文主要是兩種指令集特性及其應用的比較。
Data race condition
A race condition is an undesirable
situation that occurs when a device or system attempts to perform two or more
operations at the same time, but because of the nature of the device or system,
the operations must be done in the proper sequence in order to be done
correctly.
Synchronization and Asynchronization
所謂的「同步(Synchronous)」,和「非同步(Asynchronous)」,是我們在撰寫程式或是開發系統時,常會聽到的形容詞。這兩種概念可以用在許多地方,包括描述程式設計的模式,所以,我們會看到所謂「同步程式設計(Synchronous Programming)」,以及「非同步程式設計(Asynchronous Programming)」。這兩個名詞分別描述了兩種不同的程式設計模式,但它們之間有什麼差別呢?
訂閱:
文章 (Atom)



