What is os, process, threads and scheduling?
A process is an independent, "heavyweight" instance of a program in execution that operates in its own isolated memory space, whereas a thread is a "lightweight" unit of execution that exists within a process. While multiple processes are strictly isolated from one another for security and stability, all threads within a single process share the same code, data, and heap segments, allowing for faster communication and more efficient resource utilization. Consequently, context switching and creation are much faster for threads than for processes, though this shared environment requires careful synchronization to prevent data conflicts.
Written for
- Institution
- Parul University
- Course
- 303105201
Document information
- Uploaded on
- January 24, 2026
- Number of pages
- 7
- Written in
- 2025/2026
- Type
- Class notes
- Professor(s)
- Mr. j
- Contains
- All classes
Subjects
-
process
-
threads
-
scheduling
-
os
-
objectives and components of os