-
4.시스템 콜(System Call)Computer Science/Operating System 2021. 8. 18. 00:25
∙시스템 콜
∘응용 프로그램의 요청에 따라 커널에 접근하기 위한 인터페이스
○fork(): 새로운 프로세스를 생성
-parent 프로세스는 child 프로세스의 pid 값을 return한다.
-child 프로세스는 0을 return한다.
○wait(): child 프로세스가 종료될 때까지 대기
○exec(): child에서 parent와 다른 작업을 수행출처
'Computer Science > Operating System' 카테고리의 다른 글
6.IPC(Inter Process Communication) (0) 2021.08.20 5.PCB(Process Control Block), Context Switcing (0) 2021.08.19 3.인터럽트(Interrupt) (0) 2021.08.17 2.프로세스(Process), 스레드(Thread) (0) 2021.08.16 1.운영체제(OS)(Operating System) (0) 2021.08.16