Operations on Processes

A process creation hierarchy is a graphical representation of the dynamically changing parent-child relationships among all processes. The process creation hierarchy changes each time a process is created or destroyed. When a process initiates the creation of a child process, the OS executes a create process function. The create process function allocates a new PCB, fills the PCB entries…

Parts of the PCB

CPU_state – When the process is stopped, the current state of the CPU, consisting of various hardware registers and flags, is saved in this field to be reloaded when the process resumes. PCB Data Description Data Stored As Can Change process_state This is the state of the process, running, ready, or blocked most often. Integer…

Processes

A process is an instance of a program being executed by an OS. The OS manages the processes in something called a Process Control Block (PCB). This helps it keep track of what is running, how much memory is being used and where, the program being run, the current instruction address, etc. Your operating system as a…

The OS structure

The modern OS is a complex structure comprised of millions of lines of code. Not all information is released, and is this core components, or everything including additional apps that have been included? Mac OS X Tiger (10.4) ~ 84 Million Lines of Code Windows Vista (2009) ~50 Million Lines of Code Debian 7.0 (2012)…

Role of the OS

Book chapter notes: The operating system (OS) is the software that runs on the bare hardware of a computer and provides essential support for users to develop and use applications in the most efficient and safe manner. The OS will also serve as an abstraction layer for the user/applications to interact with hardware. The OS can serve…

Arrays in Java

We’ve talked about arrays, now let’s look at how they are created in Java. In a general form, you can find something like below: Obviously type would be something like int, float, or even a class name as you can have an array of objects. Declaring an Array This means that the following are ways…