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

Give examples for 8 / 16 / 32 bit Microprocessor?

1 Answers  


How do I know if my hardware supports 64 bit?

0 Answers  


Define the basic logical structure of a computer.

0 Answers  


when a process is created using fork(). what is shared between parent process and child process. 1.Heap 2. stack 3. shared memory segments 4. I/O handles

2 Answers   Hyderabad Central University, nvidia,


What is the most used operating system in the world?

0 Answers  






What is Direct Access Method?

0 Answers  


Difference between static and dynamic RAM?

23 Answers   HCL,


What is a rootkit virus?

0 Answers  


Explain the triple channel architecture?

0 Answers  


What are read-write locks?

0 Answers  


What is a job queue?

0 Answers  


What is the purpose of system programs?

0 Answers  


Categories