Answer Posted / dibya jyoti(titanmtp)
Semaphore is a technique in which we can avoid the mutual
exclusion problem.or in other words we say it as the
protected variable(ie.They are used for process sync and
are used to resolve deadlock conditions.)
That means if there are many proceess sharing
a same resources then other process must wait it until the
process in critical section is completed as the process in
critical section is completed its send a signal to the
other process to enter a critical section.
basically it is done in two types
1*General semaphore or (counting semaphore)
2*Binary semaphore or (Mutex)
| Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
Can you have concurrency but not parallelism?
How many os are there?
Is deepin os stable?
windows 3.1 is
What is the g in gnu?
What are positional parameters?
Is the g in gnu silent?
Why is my computer so slow?
The flushing policy is described in the subsection on process migration strategies: a) From the perspective of the source, which other strategy does flushing resembles? b) From the perspective of the target, which other strategy does flushing resemble?
What causes a corrupt operating system?
Is chrome an operating system?
Why does kernel panic occur?
Where can I get a free operating system?
Which one is the best operating system?
Can kernel panic be fixed?