Understanding Multiprocessing and Multithreading Concepts
A process represents an independent executable program unit that contains one or more threads. A thread serves as the fundamental execusion unit within a process and represents the smallest schedulable unit by the operating system.
Multithreading
Multithreading enables concurrent execution of multiple threads within a single process.
Advantages ...
Posted on Thu, 18 Jun 2026 16:44:22 +0000 by bluestar
Implementing xv6 User Programs: sleep, pingpong, primes, find, and xargs
This lab requires implementing five user-space programs: sleep, pingpong, primes, find, and xargs.
Source code: https://github.com/InQing/xv6-operating-system/tree/util
(1) sleep
Requirements
Write a user program that takes one argument t and calls the sleep system call to sleep for t time units.
Approach
This lab does not require implementing ...
Posted on Thu, 28 May 2026 17:28:46 +0000 by sapna
Core Concepts of Operating Systems and Computer Architecture
1. Computer System Fundamentals
1.1 Basic Components
Processor: Central processing unit (CPU), the primary execution engine.
Main Memory: Volatile storage; contents are lost on power-off.
I/O Modules: Devices like disks, keyboards, and network interfaces.
System Bus: Communication backbone linking processor, memory, and I/O.
1.2 CPU Registers ...
Posted on Sun, 17 May 2026 18:36:26 +0000 by wcsoft