context-switching

  • context ๋Š” ํ˜„์žฌ ์ž‘์—… ์ค‘์ธ ๋ฌธ๋ฐฑ๋งฅ

  • ํ˜„์žฌ ์ž‘์—… ์ค‘์ธ ๋ฌธ๋งฅ์ด ๋ณ€ํ™”ํ•˜๊ธฐ ๋•Œ๋ฌธ์— switching

  • ์ฆ‰ ์‹คํ–‰ ์ค‘์ธ ๊ฐ’์„ ๋ฉ”๋ชจ๋ฆฌ์— ์ž ๊น ์ €์žฅํ•˜๊ณ , ์ดํ›„์— ๋‹ค์‹œ ์‹คํ–‰ํ•˜๋Š” ์‹œ์ ์— ์ €์žฅํ•œ ๊ฐ’์„ CPU๋กœ ๋ถˆ๋Ÿฌ์˜ค๋Š” ๊ณผ์ •์„ ์˜๋ฏธ

  • ์ด ๊ณผ์ •์—์„œ ๋น„์šฉ์ด ๋ฐœ์ƒํ•จ

  • ๋‹ค์‹œ ๋งํ•ด, multi-thread๋Š” ๋Œ€๋ถ€๋ถ„ ํšจ์œจ์ ์ด์ง€๋งŒ, [[context-switching]] ์ด ํ•„์š”ํ•˜๋ฏ€๋กœ, ํ•ญ์ƒ ํšจ์œจ์ ์ธ ๊ฒƒ์€ ์•„๋‹ˆ๋‹ค.

Reference

  • https://www.inflearn.com/course/lecture?courseSlug=%EA%B9%80%EC%98%81%ED%95%9C%EC%9D%98-%EC%8B%A4%EC%A0%84-%EC%9E%90%EB%B0%94-%EA%B3%A0%EA%B8%89-1

Last updated