Mention some attractive properties of semaphore?, Operating System

Assignment Help:

Mention some attractive properties of semaphore? 

            The Semaphores aren't provided by hardware. However they have numerous attractive properties:

  • Machine independent.
  • It is Simple.
  • Powerful exemplify both waiting and exclusion.
  • Correctness is simple to determine.
  • Work with several processes.
  • Can have numerous different critical sections with different semaphores.
  • Can acquire lots of resources simultaneously (multiple P's).
  • Can allow multiple processes into the critical section at once if that is desirable.

Semaphores are able to be used for things other than simple mutual exclusion. For instance resource allocation P = allocate resource, V = return resource.

 


Related Discussions:- Mention some attractive properties of semaphore?

In which page replacement policy balady’s anomaly occurs, In which page rep...

In which page replacement policy Balady’s anomaly occurs? FIFO (First in First Out)

Memory organization and decoding, In a  p system each part (RAM, ROM, I/O) ...

In a  p system each part (RAM, ROM, I/O) has a unique set of numbers. The allocation of these numbers is usually stated in the form of a memory map. This is a plot of data bus agai

Define segmentation, Define Segmentation  The memory allocation method...

Define Segmentation  The memory allocation method subject to “external” fragmentation is Segmentation.

Operating system services, explain about oprating system services and topic...

explain about oprating system services and topics briefly

Semaphore, mention the three problems that mat be caused by wrong initializ...

mention the three problems that mat be caused by wrong initialization and placement of wait() and signal()operations in the use of semaphore

Define system call, Define System Call A system call is a request that ...

Define System Call A system call is a request that is made by any program to the operating system for carrying out tasks - picked from a predefined set - which the said program

Explain the spawnvp function used in the netware, Explain the Spawnvp Funct...

Explain the Spawnvp Function used in the netware Spawnvp(flags, execNmae, argv)   This function executes  similarly to spawnlp( ) except that parameters are passed as a v

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