CS/운영체제
CH2) Operating System Structure
코딩하는 포메라니안
2021. 9. 1. 22:02
1. OS Interface
1. Command Interpreter
- CLI, shell
2. GUI
- folder, icons
2. System Calls
1. System Call 이란
- OS 내부 기능을 호출
- kernel에 파일로 구현되어 있음
- 프로그래머들은 system call을 API(Application Programming Interface)들을 통해 간접적으로 사용
- 직접 사용하지 않는 이유?
1) 사용하기 어려움
2) 다른 OS에서도 같은 프로그램을 실행하기 위해서
2. 종류
1) Process control
- process load, execute, end, event, allocate memory
2) File 조작
3) Device 조작
4) Information maintenance
5) Communication
- 프로세스 간의 통신
방법 1) message passing
방법 2) shared-memory
6) Protection