티스토리 뷰

운영체제/이론

(43) Example of Banker's Algorithm

geonwoopaeng@gmail.com 2020. 9. 27. 17:20

< Example of Banker's Algorithm >

: Need <= Available(work),

Available(work) = Available(work) + Allocation

 

: Available - 가용할 자원이 얼마나 남아 있는가

: Max - thread가 요구하는 리소스의 최대 개수

: Allocation - thread에 현재 할당된 리소스(instance)의 개수

: Need - thread가 현재 할당된 리소스 이외에 필요한 리소스

(잔여 리소스, remain instance)(Max-Allocation)

 

012
출처: Operating System Concepts 10th Ed (John Wiley & Sons, Inc. 2018) ​

반응형
공지사항
최근에 올라온 글