Question
What is the difference between a process and a thread?
Click or press Space to reveal answer
Answer
Process: independent program with own memory space, heavyweight, isolated, IPC needed for communication. Thread: lightweight unit within process, shares memory/resources, faster creation/switching, less overhead. Multiple threads in one process. Process = house, thread = room.
Click or press Space to flip back
Card 1 of 20
←→S
Progress0 / 20 mastered
0
Known
0
Review
K Known • R Review