Skip to main content

Posts

Featured

CST334 Module 2

What did I learn in the second week of CST334? This week I learned about five different topics about operating systems. The first topic is about processes, which is a fundamental unit of execution within operating systems, as it isolates and manages multiple running programs. Basically, processes provide the illusion that multiple programs run simultaneously, while storing state through the process control block. The second topic is about the C process API, which is critical when writing low-level code whether for debugging or for tool-building. Basically, the C process API is a hands-on interface to control processes in C using system calls, for example, fork() creates a child process by duplicating the parent, exec() replaces the current process memory and wait() pauses a parent until the child finishes.  The third topic is about limited direct execution, which allows programs to run directly on the CPU with constraints, showcasing system call mechanics and interrupt handling for...

Latest Posts

CST334 Module 1

CST 363 Final Module

CST 363 Module 7

CST 363 Module 6

CST 363 Module 5

CST 363 Module 4

CST 363 Module 3

CST 363 Module 2

Week 17/18: CST 363 Module 1

Week 15/16: CST 338 Module 7/8