THE MOST ON DOCSITY
Find users

Hardware Solutions For The Critical Section Problem-Operating Systems-Lecture Notes

Lecture Notes, Operating System

Post: August 6th, 2012
Description
Operating Systems is necessary course in Computer Science. Its about threading, process scheduling, deadlocks, memory management etc. This lecture includes: Hardware, Solution, Semaphores, Critical, Section, Process, Structure, Algorithm, Data, Common
Operating Systems is necessary course in Computer Science. Its about threading, process scheduling, deadlocks, memory management etc. This lecture includes: Hardware, Solution, Semaphores, Critical, Section, Process, Structure, Algorithm, Data, Common
-
Embed this document

Report Report

Reason:

Send Message

Login or register to download this document!

If you are already registered, login otherwise Register , it just takes 1 minute!

Uploaded by:

sarang

sarang
Universityuni_20documents_40doc_answ
Embed this document
Get the App
Contents
Operating Systems [CS-604] Lecture No. 21 Operating Systems Lecture No. 21 Reading Material ƒ ƒ ƒ Chapter 7 of the textbook Lecture 21 on Virtual TV Hardware solutions Summary Hardware Solutions for the Critical Section Problem In this section, we discuss some simple hardware (CPU) instructions that can be used to provide synchronization between processes and are available on many systems. The critical section problem can be solved simply in a uniprocessor environment if we could forbid interrupts to occur while a shared variable is being modified. In this manner, we could be sure that the current sequence of instructions would be run, so no unexpected modifications could be made to the shared variable. Unfortunately this solution is not feasible in a multiprocessing environment, as disabling interrupts can be time consuming as the message is passed to all processors. This message passing delays entry into each critical section, and system efficiency decreases. Normally, access t..

Docsity.com

Learning becomes social!

Authentication required

This feature is reserved for registered user

Register Login

Docsity.com

Learning becomes social!

Authentication required

Hi!
In order to freely download all the documents on Docsity, please register or login:

Register Login