pcb
-
Process vs ThreadCS 지식/운영체제(OS) 2023. 4. 19. 10:56
Process란 - Program in execution(수행 중인 프로그램). 메모리 상에서 실행 중인 프로그램. (Thread는 이 프로세스 안에서 실행되는 흐름 단위.) - Execution stream in the context of particular process state Execution stream : 프로세스가 수행한 모든 명령어들의 순서 Process state / context Memory context : code, data(program의 전역변수 저장), stack(local 변수들, 함수 호출을 위한 필요한 데이터들 저장) Hardware context : CPU의 register values, I/O registers System context : kernel context..