๐พ Synchronization ๋๊ธฐํ(Synchronization)์ ํน์ ์์์ ์ ๊ทผํ ๋ ํ ๊ฐ์ Process(Thread)๋ง ์ ๊ทผํ๊ฒ ํ๊ฑฐ๋ Process(Thread)๋ฅผ ์ฌ๋ฐ๋ฅธ ์์๋๋ก ์คํํ๋ ๊ฒ์ ์๋ฏธํฉ๋๋ค. Process(Thread)์ ๋๊ธฐํ๋ฅผ ํตํด ์คํ ์์์ ์์์ ์ผ๊ด์ฑ์ ๋ณด์ฅํ ์ ์์ต๋๋ค. ์ค...
๐พ [Operating System] Synchronization ๐พ
๐พ [Operating System] CPU Scheduling ๐พ
๐พ CPU Scheduling CPU Scheduling์ด๋ OS(Operating System)๊ฐ Process๋ค์๊ฒ CPU ์์์ ๊ณต์ ํ๊ณ ํฉ๋ฆฌ์ ์ผ๋ก ๋ฐฐ๋ถํ๋ ๊ฒ์ ๋งํฉ๋๋ค. CPU๊ฐ ๋จผ์ ์ฒ๋ฆฌํ๋ฉด ์ข์ ์์๋๋ก ๋ฒํธ๋ฅผ ๋ถ์ฌํ ๊ฒ์ ์ฐ์ ์์(Priority)๋ผ ํ๋ฉฐ OS๋ PCB(Process Control Block)์ ์ฐ์ ์์๋ฅผ ๋ช ์ํฉ๋๋ค....
๐พ [Operating System] Process & Thread ๐พ
๐พ Process Process๋ ํ๋ก๊ทธ๋จ์ด ๋ฉ๋ชจ๋ฆฌ์ ์ ์ฌ๋์ด ์คํ๋๋ ๊ฒ์ ๋งํฉ๋๋ค. Process์ ์ข ๋ฅ๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค. Foreground Process: User๊ฐ ๋ณผ ์ ์๋ ๊ณต๊ฐ์์ ์คํ๋๋ Process Background Process: User๊ฐ ๋ณด์ง ๋ชปํ๋ ๊ณต๊ฐ์์ ์คํ๋๋ Process Demon...
๐พ [Operating System] About Operating System ๐พ
๐พ OS(Operating System) OS(Operating System)์ Kernel Space์ ์ ์ฌ๋์ด Application Software์ ํ์ํ ์์คํ ์์์ ํ ๋นํ๊ณ Application Software๊ฐ ์ฌ๋ฐ๋ฅด๊ฒ ์คํ ๋๋๋ก ๋๋ ํน๋ณํ ํ๋ก๊ทธ๋จ์ ๋๋ค. ๋ํ์ ์ธ OS๋ก๋ Window, macOS, Linux, Android,...
๐ฅ๏ธ [Computer Architecture] I/O Device ๐ฅ๏ธ
๐ฅ๏ธ Device Controller I/O Device๋ ๊ฐ์์ Device Controller๋ฅผ ํตํด ์ปดํจํฐ ๋ด๋ถ์ ์ ๋ณด๋ฅผ ์ฃผ๊ณ ๋ฐ์ต๋๋ค. ๋ํ Device Controller๋ ํ๋ ์ด์์ I/O Device์ ์ฐ๊ฒฐ๋์ด ์์ต๋๋ค. Device Controller๊ฐ ํ์ํ ์ด์ ๋ ๋ค์๊ณผ ๊ฐ์ต๋๋ค. ๋ค์ํ I/O Device์ ์ ๋ณด๋ฅผ ์ฃผ...
๐ฅ๏ธ [Computer Architecture] Secondary Storage ๐ฅ๏ธ
๐ฅ๏ธ ํ๋ฐ์ฑ ๋ฉ๋ชจ๋ฆฌ VS ๋นํ๋ฐ์ฑ ๋ฉ๋ชจ๋ฆฌ ย Computer ๋ถํ Example Volatile Memory (ํ๋ฐ์ฑ ๋ฉ๋ชจ๋ฆฌ) Register | Cache | Main Memory RAM, ROM Non-V...
๐ฅ๏ธ [Computer Architecture] Memory ๐ฅ๏ธ
๐ฅ๏ธ ํ๋ฐ์ฑ ๋ฉ๋ชจ๋ฆฌ VS ๋นํ๋ฐ์ฑ ๋ฉ๋ชจ๋ฆฌ ย Computer ๋ถํ Example Volatile Memory (ํ๋ฐ์ฑ ๋ฉ๋ชจ๋ฆฌ) Register | Cache | Main Memory RAM, ROM Non-V...
๐ฅ๏ธ [Computer Architecture] CPU ๐ฅ๏ธ
๐ฅ๏ธ CPU(Central Processing Unit; ์ค์์ฒ๋ฆฌ์ฅ์น) ๐ฅ๏ธ ALU ALU(Arithmetic Logic Unit; ์ฐ์ ๋ ผ๋ฆฌ์ฐ์ฐ์ฅ์น)๋ CPU์ ๊ณ์ฐ์ ๋ด๋นํ๋ ์ฅ์น์ ๋๋ค. ALU๊ฐ ๋ฐ์๋ค์ด๋ ์ ๋ณด ๋ ์ง์คํฐ(Register)์ ์ ์ฅ๋ Operand ์ ์ด์ ํธ(์ํํ ์ฐ์ฐ์ด ๋ฌด์์ธ์ง ์ ์ด์ฅ์น(C...
๐ฅ๏ธ [Computer Architecture] Instruction ๐ฅ๏ธ
์ปดํจํฐ๊ฐ ์ดํดํ๋ 0๊ณผ 1๋ก๋ ์ ๋ณด์๋ ๋ฐ์ดํฐ(Data)์ ๋ช ๋ น์ด(Instruction)์ด ์์ต๋๋ค. ํด๋น ํฌ์คํธ์์๋ ๋ช ๋ น์ด์ ๋ํด ์์๋ณด๊ฒ ์ต๋๋ค. ๐ฅ๏ธ Programming Language Low-Level Programming Language ๊ธฐ๊ณ์ด(Machine Code): 0๊ณผ 1๋ก ์ด๋ฃจ์ด์ง ๋ช ๋ น์ด ์งํฉ ...
๐ฅ๏ธ [Computer Architecture] Data ๐ฅ๏ธ
์ปดํจํฐ๊ฐ ์ดํดํ๋ 0๊ณผ 1๋ก๋ ์ ๋ณด์๋ ๋ฐ์ดํฐ(Data)์ ๋ช ๋ น์ด(Instruction)์ด ์์ต๋๋ค. ํด๋น ํฌ์คํธ์์๋ ๋ฐ์ดํฐ์ ๋ํด ์์๋ณด๊ฒ ์ต๋๋ค. ๐ฅ๏ธ ์ ๋ณด ๋จ์ ํ๋ก๊ทธ๋จ(Program)์ ํฌ๊ธฐ๋ฅผ ํํํ๋ ๋จ์ $10^3$์ ๊ธฐ์ค์ผ๋ก ๊ทธ๋ฃนํํ๋ ๋จ์ ...