What is the concept of an atomic operation, Operating System

Assignment Help:

Question: Concurrency and Synchronization

a) Define the following terms:

I. Critical section
II. Mutual Exclusion
III. Deadlock
IV. Starvation.

b) Name three methods which are usually used in synchronizing processes.

c) What are semaphores used for?

d) What is the concept of an atomic operation?

e) Describe the concept involved in the producer - consumer problem.

f) Semaphores support two types of atomic operations? What are they? And what does each type of operation represent?

g) There are two types of semaphore implementation. State them and what are the operations involved in each of them.


Related Discussions:- What is the concept of an atomic operation

Define program preemption, Define Program preemption The Forced de-allo...

Define Program preemption The Forced de-allocation of the CPU from a program which is executing on the CPU is known as Program preemption

#title.Kernal, Ask questiWhat is dispatcheron #Minimum 100 words accepted#

Ask questiWhat is dispatcheron #Minimum 100 words accepted#

What are batch systems?, What are batch systems? Early computers were p...

What are batch systems? Early computers were physically huge machines run from a console. The general input devices were card readers and tape drivers. The common output device

What are the multithreading models, What are the multithreading models? ...

What are the multithreading models? There are three models:- a) Many-to-One model b) One-to-One model c) Many-to-Many model

Communications technique - application interaction protocols, Define the Co...

Define the Communications Techniques - Application interaction protocols    Communications techniques are well defined. They give developer the programmatic mechanism to transf

What are the various available scheme in ipc, Several schemes available are...

Several schemes available are as follows: Pipes : One-way communication process through which different process can interact. The problem is that the two processes could have

Process, what common event leads to the creation of a process?

what common event leads to the creation of a process?

Essential properties of operating system, Essential Properties of Operating...

Essential Properties of Operating System 1. Batch: Jobs with similar needs are batched together and run through the computer as a group by an operator or automatic job sequen

Explain additional-reference-bits algorithm, Additional-reference-bits algo...

Additional-reference-bits algorithm We can keep an 8-bit byte for every page in a table in memory. The operating system shifts the reference bits right 1 bit, discarding the lo

THREADS, advantage and dis advantage of threads

advantage and dis advantage of threads

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