What is Semaphore?

Answer Posted / sanjay

In simple terms a Semaphore is a unit or resource which is
used for synchrosation between two processes , it is kind
of flag (in abstract terms) which every process will check
before processing ahead to avoid the deadlock situation

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Give the disadvantages of Havander's Strategies.

2119


What are the 4 types of communication?

518


What are deadlock prevention techniques?

593


What happens if we don’t override a run method?

717


How will you check if R3 system is a Unicode or non - Unicode system?

598






Name the functions constituting the os's memory management.

572


What is readers-writers problem?

545


How are the wait/signal operations for monitor different from those for semaphores?

493


What is ram parity?

594


Explain the characteristics of instruction and execution time.

544


What are the types of files?

521


State two differences between user and kernel space?

518


What is process synchronization?

611


Do hackers use mac or pc?

545


Explain the functions of the cu and alu in the cpu of a computer.

540