Thread(5)
-
[FreeBSD] The Process and Thread Structure
The Process StructureIn addition to the references to the substructures, the process entry shown in Figure 4.1 contains the following categories of information: • Process identification: the PID and the parent PID • Signal state: signals pending delivery and summary of signal actions• Tracing: process tracing information• Timers: real-time timer and CPU-utilization counters The process substruc..
2024.07.21 -
[FreeBSD] PID and Process State
4.2 Process StateEvery process in the system is assigned a unique identifier termed the process identifier (PID). PIDs are the common mechanism used by applications and by the kernel to reference processes. PIDs are used by applications when the latter send a signal to a process and when receiving the exit status from a deceased process. Two PIDs are of special importance to each process: the PI..
2024.07.21 -
[FreeBSD] Process Management, Multiprogramming and Scheduling
Part II: ProcessesChapter 4.1 Introduction to Process ManagementA process is a program in execution. (ํ๋ก์ธ์ค์ ์ ์. ์ ํํ๊ฒ ๋ฐ์ง์๋ฉด, ํ๋ก๊ทธ๋จ๊ณผ๋ ๊ตฌ๋ถ๋๋ค.)A process has an address space containing a mapping of its program’s object code and global variables. It also has a set of kernel resources that it can name and on which it can operate using system calls. These resources include its credentials, signal state, a..
2024.07.16 -
2022. 11. 04 : Architecture Kick - off
Architecture (11/4 ๊ฐ์ฆ์) View controller View ๋ผ๋ ์ค๋ ๋๊ฐ ํ์์ด ๋๋คOS์์๋ Process์์ ์๋ง์ thread๊ฐ ๋๋ค ์ํคํ ์ณ๋?ํ๋์ view๋ง ๋ณธ๋ค๋ฉด ์ฌ๋ฌ ์ปดํฌ๋ํธ์ ๋ชจ์์ด์ง๋ง,๋์ ์ธ (๋ฐํ์) ์ธก๋ฉด์์๋ Process, App ํ๋๋ฅผ ์๋ฏธ๋ฉ๋ชจ๋ฆฌ์์ ์ฃฝ์ง ์๋ ์์ญ ๋์ ์ด๊ณ ์ ์ ์ธ ์ธก๋ฉด์ ๋ค ๋ณด์์ผ ํ๋ค.MVC: Logical architecture Runtime architectureProcess, Thread ์ค์ ๋ก ๋ฐํ์์์ ๋ฐ๋ผ๋ณด๋ ๊ตฌ์กฐ (OS๊ฐ ์ธ์ํ๋ ๊ตฌ์กฐ)๋ ๊ฐ์ ์ฑ์ด ๋ฐ์ดํฐ๋ฅผ ๊ณต์ ํด์ผ ํ๋ค๋ฉด?ํ๋ก์ธ์ค: ๋ฐ์ดํฐ๋ฅผ ์ ์ํ์ง ์๋๋ค.๊ทธ๋ผ? ์ธ์ ๋ฉ์ธ์ง ํต์ ๋ฑ๋ฑ์ ๋ฐฉ๋ฒ์ด ์๋ค. Conceptual architecture ์ฐ์์์ ๋ง๊ฒ ๋ถ์ธ ์ด๋ฆ๋ค์ด..
2022.11.07 -
UMC iOS ์ธ๋ฏธ๋ 6์ฃผ์ฐจ: Thread
DispatchQueue.main() -> main ์ค๋ ๋, UI ๊ด๋ จ ์์ ์ ๋ฐ๋์ ๋ฉ์ธ ์ค๋ ๋์์๋ง! DispatchQueue.global() -> ์ด์ธ์ ๋ค์ํ ์ฒ๋ฆฌ๋ค์ ๋ฐฑ๊ทธ๋ผ์ด๋์์ == global ์ด๋, UI ๊ด๋ จ ์์ ์ main์์! ๋ฐ๋ผ์ global ๋ด๋ถ์์, UI ์ฝ๋๋ง main์ผ๋ก ๊ฐ์ผ๋ค. ๋ฐฑ๊ทธ๋ผ์ด๋์์ ๋๋ฆฌ๋ฉด์, ํด๋น ์์ ์ main์ผ๋ก ๊ฐ์ ธ๊ฐ๋ ๊ฒ ์ด์ ์ ๋์คํจ์น ํ ์ฝ๋๋ฅผ ์ ๋ ๊ฒ ์ฐ๋์ง ์ดํด๊ฐ ๊ฐ๋ค ;;
2022.10.31