Process vs Thread

Process
Thread

ํ•œ์ค„ ์ •์˜

์šด์˜์ฒด์ œ๋กœ๋ถ€ํ„ฐ ์ž์›์„ ํ• ๋‹น๋ฐ›์€ ์ž‘์—…์˜ ๋‹จ์œ„

ํ”„๋กœ์„ธ์Šค๊ฐ€ ํ• ๋‹น๋ฐ›์€ ์ž์›์„ ์ด์šฉํ•˜๋Š” ์‹คํ–‰ ํ๋ฆ„์˜ ๋‹จ์œ„

๋…๋ฆฝ๋œ ๋ฉ”๋ชจ๋ฆฌ ์˜์—ญ

Code, Data, Stack, Heap

Stack

๊ณต์œ ํ•˜๋Š” ๋ฉ”๋ชจ๋ฆฌ ์˜์—ญ

X

Code, Data, Heap (ํ•˜๋‚˜์˜ ํ”„๋กœ์„ธ์Šค ์•ˆ์—์„œ ๊ณต์œ )

์žฅ์•  ์ „ํŒŒ

๊ณต์œ ํ•˜๋Š” ๋ฉ”๋ชจ๋ฆฌ ์˜์—ญ์ด ์—†์œผ๋ฏ€๋กœ ์ „ํŒŒ๋˜์ง€ ์•Š์Œ

๋™์ผ ํ”„๋กœ์„ธ์Šค๋กœ ์žฅ์•  ์ „ํŒŒ

Context Switching ๋น„์šฉ

ํผ

์ ์Œ

Last updated