OS-Indefinite Postponent

In any system that keeps processes waiting while it makes resource allocation and process scheduling decisions, it is possible to delay inde...

In any system that keeps processes waiting while it makes resource allocation and process scheduling decisions, it is possible to delay indefinitely the scheduling of a process while other processes receive the system’s attention. This situation, called as indefinite postponement or indefinite blocking or starvation.

Indefinite postponement may occur because of resource scheduling policies. When resources are scheduled on a priority basis, it is possible for a given process to wait for a resource indefinitely as processes with higher priorities continue arriving. In some systems, indefinite postponement is prevented by allowing a process’s priority to increase as it waits for a resource. This is called aging.

RESOURCE CONCEPTS:

An operating system is primarily a resource manager. It is responsible for the allocation of a vast array of resources of various types. We consider resources that are preemptible such as CPU and main memory; a user program currently occupying a particular range of locations in main memory may be removed or preempted by another program. The CPU must be rapidly switched among a large number of processes competing for system service to keep all those processes progressing at a reasonable pace.

Certain resources are non preemptible and cannot be removed from the processes to which they are assigned. For eg., tape drives are normally assigned to a particular process for periods of several minutes or hours .

While a tape drive belongs to one process and given to another. Code that cannot be changed in use in use is said to be reentrant. Code that may be changed but is reinitialized each time it is used is said to be serially revisable.

FOUR NECESSARY CONDITON FOR DEADLOCK :

Coffman, Elphick and Shoshani stated the following 4 necessary conditions that must be in effect for a deadlock to exit.
  1.  Processes claim excusive control of the resources they require (natural exclusion condition)
  2.  Processes hold resources already allocated to them while waiting for additional resource (wait for condition)
  3.  Resources cannot be removed the process holding them until the resource are used completion (no preemption condition).
  4.  A circular chain of processes exits in which each process hols are more resources that are requested by the next process in the chain (circular wait condition).
Name

ADO,131,ASP,3,C++,61,CORE JAVA,1,CSS,115,HTML,297,index,5,JAVASCRIPT,210,OS,47,PHP,65,SAD,53,SERVLETS,23,SOFTWARE ENGINEERING,245,SQL,71,TCP/IP,1,XHTML,9,XML,18,
ltr
item
Best Online Tutorials | Source codes | Programming Languages: OS-Indefinite Postponent
OS-Indefinite Postponent
Best Online Tutorials | Source codes | Programming Languages
https://www.1000sourcecodes.com/2012/09/os-indefinite-postponent.html
https://www.1000sourcecodes.com/
https://www.1000sourcecodes.com/
https://www.1000sourcecodes.com/2012/09/os-indefinite-postponent.html
true
357226456970214079
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content