Please enable JavaScript.
Coggle requires JavaScript to display documents.
process synchronization (同步) (C.S.design方法 (n個processes之C.S design, HW…
process synchronization
(同步)
race condition
之解兩大策略
disable interrupt
(從CPU下手)
critical section design
(busy waiting,spin lock)
(從data下手)
process communication
兩大方式
message passing
share memory
race condition
problem
(競爭狀況)
定義
例子
C.S design基本認知
process Pi之結構
例子
C.S.與R.S.定義
C.S. design
C.S.design方法
n個processes之C.S design
HW instruction support
Algo.(3個)
test-and-set
software solustions
C.S. design之solution架構圖
swap指令
semaphore(號誌)
message passing技術
比較表
用message passing解
producer-consumer problem
indirect communication
呈現synchronization之意義
direct communication
link capacity
指令
exception handling
問題解決
簡單的synchronization problem之解決
著名的同步問題之解決
using semaphore
正確的C.S. design
該滿足的3個criteria
progress
bounded waiting
mutual eclusion