What is Semaphore?

Answers were Sorted based on User's Feedback

What is Semaphore?..

Answer / 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

What is Semaphore?..

Answer / vinay kashyap

in simple terms semaphore is a unit(count) used to keep track of the resources available..

Is This Answer Correct ?    3 Yes 2 No

What is Semaphore?..

Answer / nithi

semaphore is a kind of variable on which we perform 2 operations signal(V) and wait(P) ,a process performs no operation and it will wait if semaphore is <= 0.This is used for synchronization of processes

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Operating Systems General Concepts Interview Questions

What is DRAM?

5 Answers  

Paging a memory management function, while multiprogramming a processor management function, are the two interdependent?

2 Answers   IBM,

What is the difference between hard and soft real-time systems?

4 Answers  

What is DRAM? In which form does it store data?

1 Answers   TCS, HCL, DRDO, SoftLand,

what are multi core operating systems?

2 Answers  

Which one is not needed for Multi-pgm. enviornment?

1 Answers   Verizon, Verifone,

What does microprocessor speed depend on?

3 Answers  

what's the latest ram lunch?

0 Answers  

When would you choose Top-down methodology?

0 Answers  

What are the sub-components of I/O manager in Windows NT?

1 Answers  

What is the difference in interrupt mechanism from software to hardware?

1 Answers   HP,

what is the place where microsoft outlook express's back up is taken ?

2 Answers