교착상태
-
혼자 공부하는 컴퓨터구조 + 운영체제 - 운영체제책책책 책을 읽읍시다/프로그래밍 2023. 1. 17. 22:41
08 운영체제 시작하기 운영체제란 실행할 프로그램에 필요한 자원을 할당하고, 프로그램이 올바르게 실행되도록 돕는 특별한 프로그램이 바로 운영체제(operating system)이다. 매우 특별한 프로그램이기 떄문에 항상 컴퓨터가 부팅될 때 메모리 내 커널 영역(kernel space)이라는 공간에 따로 적재되어 실행된다. 커널 영역을 제외한 나머지 영역, 사용자가 이용하는 응용 프로그램이 적재되는 영역을 사용자 영역(user space)라고 한다. 즉, 운영 체제는 커널 영역에 적재되어 사용자 영역에 적재된 프로그램들에 자원을 할당하고 이들이 올바르게 실행되도록 돕는다. 운영체제를 알아야 하는 이유 운영체제는 현재 하드웨어의 상태는 어떠한지, 코드가 어떻게 실행되는지, 하드웨어 상에 어떤 문제가 있었는지..