2. Threads, Processes, and Dispatching
Threads and Processes Thread: a sequential execution stream Executes a series of instructions in order (only one thing happens at a time) Execution state: everything that can affect, or be affected by, a thread: code, data, registers, call stack, open files, network connections, time of day, etc Process: one or more threads, along with their execution state Part is shared among all threads in th..
2022. 11. 11.