What is an operating system process, Operating System

Assignment Help:
What is an operating system process? How is it different from a program? Why do we need the concept of a process, rather than simply talk about programs running in memory?

The execution environment in which the class instances and the instances of subsystems run and reside and its unique address space is combined known as Operating system process. The execution environment may be divided into one or more threads of control.

Difference between program & operating system process

 The process may be called the active state of a program. It also gives the status of given task mentioned in that particular program, it provides the information to main memory about the task's state and other details, for example the position it has executed up-to that instance. It keeps track of the status of registers and instances of the resources it hold and required resources, what cost it incurs on the CPU after it is done with its work.

Program is an active entity, it can be seen as the overall information on what has to be done with CPU and other resources which are likely to be needed or liable to complete that given task. In some cases it simply is a combination of Lighten weight processes (known as threads) and thick weight processes as we may require running various modules of different programs in some single program. Thus the process is similar to a platform on CPU for executing various tasks of given program and part of the main set of process. 

Why do we need the concept of a process? 

Processes are inert. We know that process is basically the active state of a program which is the set of instruction destined to execute some specific job. Prior to execution, the instructions must be converted to binary code form in order to be understood by loader OS. It is stored in Portable Executable (PE) Format on Secondary Memory Like hard disk. in windows this is generally the file with .exe extension.

A process consists of a kernel object which keeps statistical information about the process and an address space containing the entire executable or DLL module's code, data and dynamic memory allocations such as thread stacks and heap allocations.

The code contained in the process's address space is run by a thread of the process

One process may contain n number of threads, and all of them execute the code simultaneously in the address space of the process. Each thread has its own set of stack and CPU registers.

If no threads were executing the code in the process's address space the system would automatically destroy the process and its address space.


Related Discussions:- What is an operating system process

What are the benefits of multithreaded programming, What are the benefits o...

What are the benefits of multithreaded programming? The advantages of multithreaded programming can be broken down into four main categories: Responsiveness Resourc

Aggregate planning, Prepare a report that motivates alternatives reactive s...

Prepare a report that motivates alternatives reactive strategies that can be used by wind Mud clothing factory

What is a multiprocessing system, What is a multiprocessing system? Mul...

What is a multiprocessing system? Multiprocessor systems are those systems that use additional than a single processor for program execution. It is done for raising the executi

Network operating system, what is network operating? explain about it desig...

what is network operating? explain about it design issues?

Define the properties of interactive operating system, Define the propertie...

Define the properties of Interactive operating system Interactive:- This system is composed of many short transactions where the results of the next transaction may be unpred

Tcp and ip stack, What does the last four digits '0010' of the above dump r...

What does the last four digits '0010' of the above dump represent? What action will the Destination node takes when it receives this packet? The last four digits '0010' denotes

Fcfs scheduling algorithm, Q. Presume that the following processes arrive f...

Q. Presume that the following processes arrive for execution at the times indicated. Every process will run the listed amount of time. In responding the questions use non pre-empti

Multi-level page tables, Multi-level page tables are tree-like structures t...

Multi-level page tables are tree-like structures to hold page tables. As an example, consider a two- level page table, again on a 32-bit architecture with 212 = 4 kbyte pages. Now,

Explain basic file system file system architecture, Basic File System ...

Basic File System Uses the specific device driver. Deals with blocks of data that are exchanged with the physical device. Concerned with the placement of blocks on

What is multiprogramming?, What is multiprogramming? Multiprogramming: ...

What is multiprogramming? Multiprogramming: The management of many processes within a single processor system. Operating systems such like UNIX provide multiprogramming for sha

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd