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

Explain accessors to a layman.

0 Answers   Adobe,


What is multi tasking, multi programming and multi threading?

0 Answers  


Explain the trda?

0 Answers  


Explain the difference between logical & physical address.

0 Answers   Agilent, Amdocs,


Explain mutant in operating system (os)?

0 Answers  






What is difference b/w general semaphore and binary semaphore?

3 Answers  


How to find the number of sockets created in your system?

1 Answers   CA,


What is virtual memory?

4 Answers   Satyam, HCL,


What are the reasons for process termination?

0 Answers  


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

2 Answers   IBM,


What are DDks? Name an operating system that includes this feature.

3 Answers  


Explain segmentation with paging?

0 Answers  






Categories