Back to the 2019 paper

Module 2: Processes & Scheduling

201914m

(a) What is a thread?

(b) How is thread different from a process?

(c) What resources are used when a thread is created?

Worked SolutionAI Assisted

Threads (a) Lightweight process sharing address space

(b) Process has separate memory/files, heavy; thread shares, fast context, communication via shared memory
(c) Resources: TCB, stack, registers, priority, scheduling info, shared code/data/files with parent process.

Similar questions

Budget AppAndroid App

Pocketly on Android

Log daily food, travel, and hostel expenses instantly. Set monthly spending limits and see where your money goes without complex spreadsheets.