-> context switching
-> 그 다음 thread 할당 받기
- 다음 thread는 이전 thread와 code data, heap은 공유하고 있기 때문에
- pcb에 있던 register block : 이것만 바뀐다. thread별로 존재하므로
- multi Thread가 multi processing보다 context switching 비용이 적다.
'ComputerScience > System Programming' 카테고리의 다른 글
[SSH] openssh 실행, 포트확인, 접속 등 명령어 정리 (0) | 2021.11.11 |
---|---|
Automatic tasks, 리눅스 작업 예약 명령어 at, con, crontab (0) | 2021.11.11 |
리눅스 jobs control , 백그라운드로 실행되는 작업 관리하기. (0) | 2021.11.11 |
Linux process 명령어, 새로운shell만들기, shutdown명령어 등 (0) | 2021.11.11 |
linux system, 프로세스와 프로세스 메모리 구조 구성 (0) | 2021.11.11 |