본문 바로가기
Operating System

Process VS Thread

by Doromi 2024. 4. 1.
728x90
반응형

 

Process example:
Google Chrome uses Process isolation by running each tab in its own process.

When one tab misbehaves due to a bug or a malicious attack, other tabs are unaffected.

 

What is a thread?

A thread is the unit of execution within a process.

A process has at least on thread It is called the main thread.

It is not uncommon for a process to have many threads.

Each thread has its own stack, and it is possible to communicate between threads using that shared memory space.

However one misbehaving thread could bring down the entire process.

728x90
반응형

'Operating System' 카테고리의 다른 글

운영 체제  (0) 2019.05.03
데드락  (0) 2019.04.17
동기화(Synchronization)  (0) 2019.04.17
쓰레드(Threads)  (0) 2019.04.17
프로세스 생애주기, 스케쥴링  (0) 2019.04.17