answersLogoWhite

0


Best Answer

Semaphores are devices used to help with synchronization. If multiple processes share a common resource, they need a way to be able to use that resource without disrupting each other. You want each process to be able to read from and write to that resource uninterrupted.

A semaphore will either allow or disallow access to the resource, depending on how it is set up. One example setup would be a semaphore which allowed any number of processes to read from the resource, but only one could ever be in the process of writing to that resource at a time.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is semaphore in operating system?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Semaphore in operating system?

Semaphore data type used to maneuver access to multiple sources. The sources usually pertain to parallel programming, or multi user networks.


What is the name of the comminication system that uses flags?

semaphore


What were the historical digital system?

morse code braille semaphore


Who invented semaphore flag siganlling system?

robert hooke


Usage of semaphor in operating system?

When several process are running at a time in the operating system there is always a chance of hanging, semaphor helps out OS system in solving out such problem. Semaphore is just like set of rules that help out multi-process running on a OS to use a resource.The process management under the OS is actually made on the basis of semaphor only.


In semaphore technique instead of while loop why for loop is used over there also what is the reason behind that ref-given in silberschatz of operating system concepts sixth edition book?

You should ask Silberschatz himself about that.


What is the name given to the process of signaling with two flags?

Semaphore is one such system.


What is the name of the system where people on boats us their arms to talk with other boats?

semaphore


When was semaphore used?

Semaphore was invented in 1648 by Robert Hooke. The first use was by Claude Chappe in 1792 in France. The system conveyed messages from city to city by relay stations or towers.


When was Semaphore first used?

Semaphore was invented in 1648 by Robert Hooke. The first use was by Claude Chappe in 1792 in France. The system conveyed messages from city to city by relay stations or towers.


Is Windows 95 an operating system or an operating environment?

XP is a complete operating system, not simply an operating environment.


Is semaphore a collective noun?

No, the noun semaphore is a common noun; a word for a system of signaling with flags; a word for a thing.A collective noun is a word for groups of people or things, such as a crowd of people or a bunch of bananas.